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

Use GET parameter as Insert Record trigger?

Thread began 10/23/2018 9:42 am by MagsW | Last modified 10/23/2018 3:40 pm by MagsW | 29 views | 1 replies

MagsW

Use GET parameter as Insert Record trigger?

I'm converting all my old captcha widgets to use Google's reCaptcha instead. It works fine when using email behaviors, however I have a few registration forms which insert a record in the database and also send an email. I don't think I can apply WA server validation to the reCaptcha widget as it's just a div (i.e. <div class="g-recaptcha" data-sitekey="xxxxxxx"></div>, however this means that when the Submit button is pressed (the trigger for inserting the record and sending the email), the email won't send but the record is being written to the database as long as all the other validations are passed. I thought a way around this may be to use a GET parameter as the Insert Record trigger instead of the usual Submit button pressed option, i.e.:

// WA DataAssist Insert
if ((isset($_GET["sent"]) && $_GET["sent"] == "true")) // Trigger

It did write a record to the database but didn't post the info from the form! Am I missing something here, or is there another way I could add reCaptcha to the WA Server Validations?

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