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

Trying to integrate reCAPTCHA v2

Thread began 5/24/2018 8:17 am by mrs | Last modified 5/25/2018 2:33 pm by mrs | 196 views | 8 replies


While I've got your attention on this particular page, how do I set persistence on the check box above the reCAPTCHA? By that I mean that if a user has clicked the checkbox, and they submit the page and there's a validation error, the check box unchecks itself again on page refresh. I was sure it was something to do the value, but it won't retain the check with what I've tried which is:

<input <?php if (!(strcmp(((isset($_POST["tnc"]))?$_POST["tnc"]:""),(ValidatedField("requestcallback","tnc"))))) {echo "checked=\"checked\"";} ?> name="tnc" type="checkbox" required="required" class="mr-2" id="tnc" tabindex="9" title="tnc">

I'm adding this to the value of the checkbox by clicking the dynamic (bind to dynamic source) button in the DW properties panel, and checking if the form post is equal to WA Validated Entries... however, it not adding as a value, it's adding as a string of PHP code outside of the value attribute!

Basically, I'm asking you how do I go about setting the checkbox to remember it's state? I was sure that's how I did it!

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





Ease of use


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