Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 08-02-2006, 12:29 PM ASP/Formmail Help
Junior Talker

Posts: 3
Location: Orlando
Trades: 0
Hello!

I have created a form using the standard formmail code. When I enter the information into the form, and have it sent to my server, the results are in the correct order. However, when my client tests the form using their server (it is an asp form), the results are not in any sort of order. Why is this?

The forms I created are here: Orlando Weddings: Your Dream, Our Promise
The main form is a shorter version and will go to a different employees email but the same server. The longer form (destination weddings) is highly critical that we have in order as there is so much information.

You can view the client's current form here:
Orlando Weddings Online Quote Form

The main difference I notice is that they use a number in the "id" tag and I did on the shorter form but did not on the longer form. Is this number critical? I have no knowledge of asp so if someone can give me a clue as to why the form information is not in order once it is processed by the server and emailed back, I would appreciate it.
jennylynn32 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2006, 05:14 AM Re: ASP/Formmail Help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That's the way it is with forms, unless you process it and order it the way you want at the backend it will be picked up and sent in the order the form dictates when submitted.

If you just use a for each x in request construct for collecting the form data then it will be in submit order, it's your job as programmer to order the data as required.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-04-2006, 08:34 AM Re: ASP/Formmail Help
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Always format the order to ensure symmetry all over.
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 08-04-2006, 10:44 AM Re: ASP/Formmail Help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I tried to fill it out to see what would happen, but nothing showed back up in the format (note: the Bridezilla one is a fake one created by me. I don't think anyone would want to get married quite like that.)

Just so you know, you may want to put in some form validation (particularly on estimated number of guests, where you'd probably want a number.)

Anyway, chrishirst is right. You can assemble the body of the email and the order of the fields in any manner you wish. All you'd need to do is assign each form input to a variable and rearrange the variables in the right order.

As far as "standard form mailer" is concerned, there really isn't any such animal in ASP. There's code to send email, and there's code to gather form data and assign it to variables, but there really isn't code to do both since people's needs vary so much that way.

One other thing you'll want to look at...that's a loooooooooonnnnnnnnnng form. You really should split it up into 2-3 parts and maybe write to database as you go along. That's too much info for people to want to fill out.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to ASP/Formmail Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22640 seconds with 12 queries