We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Forms and Sending

MMayhem
MMayhem asked
on
Medium Priority
202 Views
Last Modified: 2013-12-25
How can a person dictate in what order the Form objects will me submitted.

ie Name before e-mail and so on.
Comment
Watch Question

Commented:
I think it is the order you present them in the HTML source. If you put Name before eMail in HTML, it'll also be outputted before.

Commented:
Irrespective of the order of the form input, you have the option of including the following which will allow you to control how the form input is received:-

Add the following HTML code some three lines after <form action="--WEBBOT-SELF--"
<INPUT TYPE="hidden" NAME="mailformOrder" VALUE="space separated list of fields used in the form">
Mark FranzProject Manager
CERTIFIED EXPERT

Commented:
You have the option also to have the output sent in alphabetical order, (depending on the FormMail CGI you are using), or write a CGI that outputs in any format you like, I have a couple that will output in columns like spreadsheets, or in the the html source order, write a CGI to printf however you want. ;-)Mark
The answer to this is to write your cgi parsing script to read in the order that you wish the fields to be displayed. This is easily done for eg if you think about perl it is parsed line by line and thus will print out the fields in the order that you read them into the perl cgi script. Need more help e-mail me at jasons@aone.com.au

Regards,

Jason

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Mark FranzProject Manager
CERTIFIED EXPERT

Commented:
6 of one, half dozen of the other...  Look into a program called Web Mailer, it uses a template that dictates the order of format, I have used it and find it very useful.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.