Menu

Form results all out of order in email.

Help
Ryan Weber
2009-08-26
2013-06-03
  • Ryan Weber

    Ryan Weber - 2009-08-26

    Hey there,
    Form works great, except that the results that are emailed to me are all jumbled and out of order.  Hoping someone can direct me to what code/document I need to modify for this form to submit in proper order.  Thanks for any help you can provide! - Ryan

    Form can be seen at:
    http://www.whiteproductphotography.com/EssayForm/form.html

    Here's what I get in email from a test submission:
    "Form data:

    How long have you owned your business?  (Must be less than two years.): This is my story, dude.

    I'm poor and need photos for my weak-ass business idea.

    Thanks for sending me cash or images.
    Your email address: 7-12 months
    Your phone number: ryanweberphoto@yahoo.com Your website, if you have one: 702-338-1706 May we contact you for a free estimate in the future?: radiantphotography.com I understand my business needs to be less than two years old and I may be required to provide official papers to verify such.: Yes, please.
    In 250 words or less, tell us your inspirational story! Why did you start your own business? Were you laid off? What industry/product are you involved in? How would professional photos of your product help your business?: KVBC and NPR radio Where did you hear about this contest?: Yes, continue with my submission."

     
    • TNTEverett

      TNTEverett - 2009-08-26

      While you were creating your form you likely moved fields up and down.  This is a known bug where the form field and processor POST variables get scrambled.  You can solve this in one of two ways. 
      1.) Start over and DO NOT move anything.  This should be possible now that you know how you want your form to look. 
      2.) List all form fields and field names in your form.html file.  Edit the processor.php file and line up field numbers with field names.  This should fix the issue. 

       
    • Ryan Weber

      Ryan Weber - 2009-08-28

      You rock sir.  That's exactly what it was.  I know nothing of php editing so I recreated the form from scratch and it works like a charm.

      Thank you so much.  I'll be worthless in this forum for advice, but I'll pay it forward in the future to someone who needs photography advice.  Thanks again!

       
    • Musawir Ali

      Musawir Ali - 2009-09-02

      Hmm I didn't know about this bug. Anyway, I see an obvious mismatch in the PHP/HTML code generating sql queries, which might be causing the problem. I've fixed it up. See if you still have this problem (i.e. the scrambling of output after reordering fields).

       
  • matt meaney

    matt meaney - 2010-07-10

    this is still an issue with v3. The only way to solve it other than creating the form correctly the first time around is to change the processor.php field names to match the form order. Unless the admins can confirm otherwise?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.