473,287 Members | 1,651 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

HTML Forms + Javascript

HI,

I need to create an online form with Details such as Name, Address,
EMail, Phone, Message, Credit Card Type/Number/Expiry Date.
I started this and I was able to create the form and validate it..but
the problem is I have two js files :one to validate the normal fields
and other one for credit card(Got through internet).So I decided to
have two pages :In first apge user will enter the particulars and once
they click the continue button they will have to fill out the credit
card details.After doing this when they submit I shud get an email with
all the details.The main problem/idea I need is to know
1)How to store the details of my first page/form and then the secodn
form and finally send altogether to my email.
2) If I am able to validate everything in a same form I need not worry
about having two forms and storing details from one page to other
page.I have two js files but I am not able to properly edit so that all
fields are validated in single form.

Please help me out.

Thanks
Pragan

Nov 6 '06 #1
3 1538
Lee
pragan said:
>
HI,

I need to create an online form with Details such as Name, Address,
EMail, Phone, Message, Credit Card Type/Number/Expiry Date.
I started this and I was able to create the form and validate it..but
the problem is I have two js files :one to validate the normal fields
and other one for credit card(Got through internet).So I decided to
have two pages :In first apge user will enter the particulars and once
they click the continue button they will have to fill out the credit
card details.After doing this when they submit I shud get an email with
all the details.
Never send credit card numbers or other personal information
through email. They should only be transmitted through secure,
encrypted channels. Talk to your web hosting company. They
probably have a secure solution that you can use that will
include credit card validation.
--

Nov 6 '06 #2
HI,

Thanks for the reply. I am going to send this through secure channel
but before that I want to validate the fields before its send out.I
have the normal validation script for the name,email,phone fields but I
want to validate the card number (I found a script online)based on the
type of the card.Ofcourse if I validate this I can validate the expiry
date.SO please help me how to call both the functions in my single
form..for example if the normal fields are done then if the user submit
the form...i shud validate the card details.Once I tried this and what
happened was I got alerrt msg for name field and also card field..so
simillar case was happening each time ..and then page dint validate the
card finally..

Is is always possible for the web hosting company to validate the
credit card field.???

Thanks
Pragan

On Nov 6, 3:59 pm, Lee <REM0VElbspamt...@cox.netwrote:
pragan said:
HI,
I need to create an online form with Details such as Name, Address,
EMail, Phone, Message, Credit Card Type/Number/Expiry Date.
I started this and I was able to create the form and validate it..but
the problem is I have two js files :one to validate the normal fields
and other one for credit card(Got through internet).So I decided to
have two pages :In first apge user will enter the particulars and once
they click the continue button they will have to fill out the credit
card details.After doing this when they submit I shud get an email with
all the details.Never send credit card numbers or other personal information
through email. They should only be transmitted through secure,
encrypted channels. Talk to your web hosting company. They
probably have a secure solution that you can use that will
include credit card validation.

--
Nov 8 '06 #3
HI,

Thanks for the reply. I am going to send this through secure channel
but before that I want to validate the fields before its send out.I
have the normal validation script for the name,email,phone fields but I
want to validate the card number (I found a script online)based on the
type of the card.Ofcourse if I validate this I can validate the expiry
date.SO please help me how to call both the functions in my single
form..for example if the normal fields are done then if the user submit
the form...i shud validate the card details.Once I tried this and what
happened was I got alerrt msg for name field and also card field..so
simillar case was happening each time ..and then page dint validate the
card finally..

Is is always possible for the web hosting company to validate the
credit card field.???

Thanks
Pragan

On Nov 6, 3:59 pm, Lee <REM0VElbspamt...@cox.netwrote:
pragan said:
HI,
I need to create an online form with Details such as Name, Address,
EMail, Phone, Message, Credit Card Type/Number/Expiry Date.
I started this and I was able to create the form and validate it..but
the problem is I have two js files :one to validate the normal fields
and other one for credit card(Got through internet).So I decided to
have two pages :In first apge user will enter the particulars and once
they click the continue button they will have to fill out the credit
card details.After doing this when they submit I shud get an email with
all the details.Never send credit card numbers or other personal information
through email. They should only be transmitted through secure,
encrypted channels. Talk to your web hosting company. They
probably have a secure solution that you can use that will
include credit card validation.

--
Nov 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
4
by: Sathyaish | last post by:
I am no JavaScript progammer, and unfortunately am having to babysit an old code base that has a lot of JavaScript in it. I have two questions: (1) Can two HTML controls have the same name? It...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.