Jump to content


FormHandler usage...


  • You cannot reply to this topic
1 reply to this topic

#1 darren

    Likes Etomite Forums!

  • Member
  • PipPip
  • 251 posts

Posted 19 April 2008 - 07:01 PM

Can anyone layout the steps to use Formhandler? I must be missing something.

I have:
1. a form with fields containing prefix IL_ (for example id="IL_name")
2. called the snippet on the page
3. hidden fields with id="$prefix" value="IL_" and id="$into" value="InterestList"
4. created the table etomite_InterestList with fields to correspond with the data i want to grab from the form.

As i understand it Formhandler will process the fields with the prefix IL_ and insert the data into the table etomite_InterestList, but that's not happening at this moment. It looks like there are some error messages in Formhandler's code but I don't get any messages when testing the form, so can't really know where to start.

thanks!

#2 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 19 April 2008 - 10:09 PM

I blogged on about formHandler and getFormVars for a while here. I had difficulties, most of them are around:
1) the ORDER the vars are in the form, 2) The PREFIX consistency of the form, 3) the row ID being sent and collected and sent, 4) the form ACTION being tested on a localhost or live host: use $etomite->makeURL($etomite->documentIdentifier,'',''); to use action =''





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users