473,394 Members | 1,715 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,394 software developers and data experts.

How do I create a form?

I need to create a form similar to the information below though I have changed it from RMNET to colours for confidentiality purposes and to make it easier to follow.

All the information that needs to be included in the form is listed below.
I would like to know how to hide the options in step 2 until the relative option has been selected from the dropdown box in step 1.

I would also like to know how i can set up an attachment space (step 4) for customers to attach pdfs.

The trickiest bit I find however is making sure the selected information from each step is sent via a submit button to a chosen email address as an easy to read list of questions and answers.

How can I include all of this information (while keeping what needs to be hidden hidden) and have it submitted to an email address?




---+++ Step One: Choose a Colour
<br /> Please choose your favourite colour from the following: <br /> <select name="s_Category" > <option selected="selected" value+"">Colour</option> <option value="O1">Yellow</option> <option value="O2">Blue</option> <option value="O3">Red</option> <option value="O4">Green</option></select>

---+++ Step Two: Colour Preference Details

---+++++ Option 1 - Yellow
| Name a Yellow Object | <input type="text" name="f_name" />* |
| Name of Yellow Animal | <input type="text" name="f_name" />* |
| Favourite Shade of Yellow | <input type="text" name="f_name" />* |
| How long have you liked this colour | <input type="text" name="f_name" />* |
| What is your second favourite colour | <input type="text" name="f_name" /> |
| Would you get married in this colour | <select name="M" > <option value="NO">NO</option> <option selected="selected" value="YES">YES</option> </select> * |

---+++++ Option 2 - Blue
| Name a Blue Object | <input type="text" name="f_name" />* |
| Name of Blue Animal | <input type="text" name="f_name" />* |
| Favourite Shade of Blue | <input type="text" name="f_name" />* |
| How long have you liked this colour | <input type="text" name="f_name" />* |
| What is your second favourite colour | <input type="text" name="f_name" /> |
| Would you get married in this colour | <select name="M" > <option value="NO">NO</option> <option selected="selected" value="YES">YES</option> </select> * |

---+++++ Option 3 - Red
| Name a Red Object | <input type="text" name="f_name" />* |
| Name of Red Animal | <input type="text" name="f_name" />* |
| Favourite Shade of Red | <input type="text" name="f_name" />* |
| How long have you liked this colour | <input type="text" name="f_name" />* |
| What is your second favourite colour | <input type="text" name="f_name" /> |
| Would you get married in this colour | <select name="M" > <option value="NO">NO</option> <option selected="selected" value="YES">YES</option> </select> * |

---+++++ Option 4 - Green
| Name a Green Object | <input type="text" name="f_name" />* |
| Name of Green Animal | <input type="text" name="f_name" />* |
| Favourite Shade of Green | <input type="text" name="f_name" />* |
| How long have you liked this colour | <input type="text" name="f_name" />* |
| What is your second favourite colour | <input type="text" name="f_name" /> |
| Would you get married in this colour | <select name="M" > <option value="NO">NO</option> <option selected="selected" value="YES">YES</option> </select> * |

---+++ Step Three: List Friends
<br /> List 4 friends that also like this colour. <br />
| | Firstname or Initials | Surname | Gender |
| 1 | <input type="text" name="f_name" /> | <input type="text" name="f_name" /> | <select name="QA" > <option selected="selected" value="-">-</option><option value="Male">Male</option> <option value="Female">Female</option> </select> |
| 2 | <input type="text" name="f_name" /> | <input type="text" name="f_name" /> | <select name="QA" > <option selected="selected" value="-">-</option><option value="Male">Male</option> <option value="Female">Female</option> </select> |
| 3 | <input type="text" name="f_name" /> | <input type="text" name="f_name" /> | <select name="QA" > <option selected="selected" value="-">-</option><option value="Male">Male</option> <option value="Female">Female</option> </select> |
| 4 | <input type="text" name="f_name" /> | <input type="text" name="f_name" /> | <select name="QA" > <option selected="selected" value="-">-</option><option value="Male">Male</option> <option value="Female">Female</option> </select> |

---+++ Step Three: Attach Photo
Please attach a pdf of you dressed in the colour you chose.

Attach(?)

Submit(?)
Dec 7 '11 #1
1 1149
johny10151981
1,059 1GB
OnChange of drop down box call a javascript function, and write code to unhide the certain filed in that function
Dec 7 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: _andrea.l | last post by:
how to build a interfaces (or web pages) in easy way? how to build a form in easy way? how to automate and create web pages whit a tool? which tool to use to create form for a database? I mean...
2
by: Michael Hertz | last post by:
Assume there is a XSD schema which describes the maximum possible number of fields which can occur in a XML document. How do I create such a form either as a HTML form or a text file from the XSD...
13
by: Geoff Cox | last post by:
Hello, How do I create a form without using document.write() which opens a new window? I imagine it has to do with using a <SPAN ID='idvalue' etc element and...
0
by: ghadley_00 | last post by:
MS Access Create form / report with multiple pages using different background images Hi, Would like to have users fill out a multipage form, and then click a print button, which pulls up the...
14
by: foxchan | last post by:
A Newbie question. Is it possible? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oNewForm As Form1 'if already create a form...
3
by: ghat12 | last post by:
Hi, I have created a form containing 5 textfields/combo boxes and a command button to conduct searches for matching records. My results are currently displayed as a separate datasheet which is...
7
by: Roemer | last post by:
Hi all I stumbled over a new problem: I have a programm with just a class that is asynchronous listening for network connections. As soon as someone connected, a new form needs to be created....
0
by: Dan | last post by:
Hi, I deleted the form created by VWD in the aspx file (because i know there may only be one server-form) and I tried to create in the code-behind file a form like: dim t as form but it...
1
by: shapper | last post by:
Hello, I am creating a few forms for two web sites. The forms will have a header which I would like to style with CSS. My idea is to create the form as follows: <div id = "form"> <h1>My...
7
by: chrismaliszewski | last post by:
Hi. I created code which makes dynamically form with bounded controls for all columns. I show it to you below. My problem is, how I have to change this code to create form which record source...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.