Need Help with HTML on Form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hawks
    New Member
    • Oct 2006
    • 3

    Need Help with HTML on Form

    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
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    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.

    Comment

    • hawks
      New Member
      • Oct 2006
      • 3

      #3
      Originally posted by drhowarddrfine
      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
      IndividualPrice 1: 6.50
      CombinedTotal1: 6.50
      ItemNumber2:
      Quantity2:
      Color2:
      ItemName2:
      IndividualPrice 2:
      CombinedTotal2:
      ItemNumber3:
      Quantity3:
      Color3:
      ItemName3:
      IndividualPrice 3:
      CombinedTotal3:
      ItemNumber4:
      Quantity4:
      Color4:
      ItemName4:
      IndividualPrice 4:
      CombinedTotal4:
      ItemNumber5:
      Quantity5:
      Color5:
      ItemName5:
      IndividualPrice 5:
      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 - "ItemNumber 2", "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

      Comment

      • hawks
        New Member
        • Oct 2006
        • 3

        #4
        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.

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          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.

          Comment

          Working...