close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Forms not functioning properly

Thread began 7/08/2013 8:04 pm by Sylvia | Last modified 7/09/2013 10:30 am by Jason Byrnes | 208 views | 1 replies |

Sylvia

Forms not functioning properly

Hi
I am having problems with two forms, in separate websites. As far as I can tell I have followed the instructions for setting them up, however I have the following issues (code attached): Both forms rely on members logging in via Security Assist.

Form in file labelled 'airshow':
I want this to connect with my database table and prepopulate with id (i will make this hidden once I have it working) Membership #, first name, last name, email, telephone and mobile. I then want members to fill in their aircraft details and insert the form contents into the database as well as auto-email to admin. At the moment, the form prepopulates with the id number and membership number on the first row of the table, regardless of who has logged in. If I remove the bindings to the table columns, it will at least send the auto email, but not insert into the database table (of course).

Form in file labelled 'pd_log'
I want this to connect with my database table and prepopulate with id (which will also be hidden once i have it working) - so far, so good as it is connecting with the correct login details. However, I cannot get it to insert the records into either the database or an auto-email. Also, since I followed the instructions found on a forum about how to repeat the datepicker, there doesn't seem to be any way to bind the datepicker field to the database? Maybe this happens once the form works, but since I can't get it working, I can't tell.

Help please - save my sanity.

Cheers
Sylvia

Sign in to reply to this post

Jason ByrnesWebAssist

airshow) When the user logs in, their ID is stored in a session variable. Instead of lookingup the ID in the recordset, use the session variable bidning instead.


also, you have the insert record behavior set to redirect to another page, this redirect happens before the email is sent. remove the redirect from the insert, and have the redirect set in the UE behavior instead.

pd_log) instead of using the Current page submit trigger in the insert behavior, try using the button pressed trigger.


NOTE: instead of pasting the code into text files, please compress the original php files to a zip archive to attach your pages.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...