By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

Need Help with HTML on Form

P: 3
What is the html to receive my form results for this problem:

When if receive my form results I received the information filled in but also receive the "blanks" i.e. for an order form. I know there is html to put in the form for this problem but cannot remember it.

Also, is there a way to receive my form just as it is printed on the webpage form?

Thanks
Mar 18 '07 #1
Share this Question
Share on Google+
4 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Your first question doesn't make sense but I think you are asking if you can pre-fill in the form. You do this using "value=" on that input.

The answer to your second question is no. Unless you want to use javascript to do that for you.
Mar 18 '07 #2

P: 3
Your first question doesn't make sense but I think you are asking if you can pre-fill in the form. You do this using "value=" on that input.

The answer to your second question is no. Unless you want to use javascript to do that for you.
Thanks for the quick reply. I'll try to clarify the first question more: When I get my order form results, it comes in like this on the item(s) ordered part:

ItemNumber1: 38281
Quantity1: 6
Color1: Gold
ItemName1: Bracelet
IndividualPrice1: 6.50
CombinedTotal1: 6.50
ItemNumber2:
Quantity2:
Color2:
ItemName2:
IndividualPrice2:
CombinedTotal2:
ItemNumber3:
Quantity3:
Color3:
ItemName3:
IndividualPrice3:
CombinedTotal3:
ItemNumber4:
Quantity4:
Color4:
ItemName4:
IndividualPrice4:
CombinedTotal4:
ItemNumber5:
Quantity5:
Color5:
ItemName5:
IndividualPrice5:
CombinedTotal5:


This customer is only ordering 1 item, yet the "blank" fields also come in.
Our webhost sold out to another company and when they did the blank fields of the form started coming in also, as shown above - "ItemNumber2", "Quantity2", etc. I have lines for my customers to order 12 different products so I receive the "field information" for all 12 lines whether filled out or not. Before the sellout I only received the "field information" if that line was filled out. I know there is code to receive only the "filled out" "field information" but I can't find it.

Can you give me a place where I can find how to create Java Script to send the form, as shown?

Again, thanks for you help
Mar 18 '07 #3

P: 3
Sorry for this second post but I want to say that I'm still asking 2 questions:

1. About the "blank fields" html

2. About the javascript to receive the form as shown on the website.
Mar 18 '07 #4

drhowarddrfine
Expert 5K+
P: 7,435
The blank fields should only appear if there is a value in the form property "value". Perhaps there is now a blank space there such as value=" ". The second part of your question should be asked in the javascript board.
Mar 18 '07 #5

Post your reply

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