by Urdhva Tech

Need a landing page for your next campaign? A way for your customers to create support cases? Do your sales reps need a way to enter leads? With WebToModule you can create custom webforms for these any many other users. Supports all modules, including custom modules.

Includes a 30 day guarantee
Try it Now

#1572 - Form create duplicated records

Closed Bug? created by fsilva Verified Purchase 5 years ago

I embed the form in my site, but the NEW records created at Lead module are duplicated in most of cases (I think this happen because the user press double-click in Submit button). There is any method to avoid this?

Regards

  1. urdhvatech member avatar

    Urdhva Tech Provider Affiliate

    5 years ago

    Hello fsilva,

    Thanks for using our add-on. To Prevent the user to resubmit the form, do the following changes into your HTML.

    (1) You have function validateCaptcha into your HTML file.

    (2) Add the following line just before all the return true statement. You will need to add following lines 2 times into that function.

    $('#WebToModuleForm').find(':submit').attr('disabled', 'disabled');

    Let us know, how it will go.

    Thanks & Regards, Team Urdhva Tech.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating