close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

submit doesn't insert to database or send email

Thread began 5/04/2020 6:03 am by vered435903 | Last modified 5/05/2020 9:55 pm by vered435903 | 37 views | 6 replies

vered435903

Thank you!!
IGNORE my notes below.

After fiddling with it, messing with different settings, all is working correctly now!! Woohoo!

Database has received info, I got an email, and I was forwarded to the thank you page.

Here's what I did:
1. I had to revise the validations for both security questions
2. One of my phpMySQL fields was not set to Null for a field that wasn't required
3. The values in the enum field in the database didn't exactly match the submitted data from the form (the database had ™ on the products in the checklist and my form did not submit the product names with the ™)


As always, thank you for your excellent tech support!!



That seems to be working.... I removed it from 1/2 the fields and 'submitted' and they didn't throw an error. However, the captcha still doesn't seem to be registering... What could be wrong there?


update: I finished removing the validation from the remaining fields and the captcha still won't let it submit.... the security questions are the last of the issues, I think.... :-)

update 2: I removed the validation from the security questions - I see on one of my other forms, that they were not present in the WA server validations section.... my submit result was a white page with the fields listed, then a line break, and then "Field 'title' doesn't have a default value"

What should I do to address that? My database allows the field to remain empty so I shouldn't need a default value....

update 3: Another form I generated with webassist has these lines in the validation. On that form, I just had the captcha.... not the additional security question. These lines are different than what was in the validations that I removed per my previous update.

$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Code"])?$_POST["Security_Code"]:"")) . "",((isset($_SESSION["captcha_Security_Code"]))?strtolower($_SESSION["captcha_Security_Code"]):"") . "",true,3);
$WAFV_Errors .= WAValidateRX((isset($_POST["Hidden_Field"])?$_POST["Hidden_Field"]:"") . "","/.* /",false,4);

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...