Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Forms and Sending

Posted on 1997-07-13
5
Medium Priority
?
175 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.
0
Comment
Question by:MMayhem
5 Comments
 
LVL 4

Expert Comment

by:feenix
ID: 1854448
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.
0
 

Expert Comment

by:lleckie
ID: 1854449
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">
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 1854450
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
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 200 total points
ID: 1854451
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
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 1854452
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question