- This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Customize anti spam verification
Hi, I have been trying unsuccessfully to modify the form submit buttons with a javascript anti-spam system using images called jigsaw. Using the Form Builder add-on (which is very good by the way), I tried inserting the two divs my script requires into custom fields. The system works but not the new submit button.
I then tried to put the divs into /plugins/swpm-form-builder/includes/form-output.php, again the system works OK but the submit botton does not work and this is not the best solution anyway because, obviously, I need different submit buttons for different membership levels.
Is there some way to customize the built-in “Verification” and “Secret” fields in Form Builder?
For those interested the system uses an external javascript, two DIVs called captcha and msg, some images uploaded at random from an external server and the following script:
<script>
jigsaw.init({
el: document.getElementById('captcha'),
onSuccess: function() {
document.getElementById('msg').innerHTML = '<input type="submit">'
},
onFail: cleanMsg,
onRefresh: cleanMsg
})
function cleanMsg() {
document.getElementById('msg').innerHTML = ''
}
</script>
Hi,
For premium addons, please use the following form Premium addon support. Someone will get in contact with you and help you with your issue.
Thank you