Autocomplete causes Rainmaker to fail
-
When using chrome’s autocomplete to fill out a rainmaker Subscription Form [Name, Email, Button], clicking submit fails to do anything (except slowly hide the form). It does not display the success message, no error message, does not redirect to a webpage, register a new lead or integrate with ‘Email Subscribers’.
It does work perfectly when autocomplete is not used.
The issue is down to this condition when the form is submitted: jQuery(b).find(“.rm_required_field”).val()
If autocomplete is used then this comes back with the email address in it, otherwise if manually entered, it comes back with “”. All I can think is that there is some difference between event handling that is setting the field differently. Or perhaps chrome is picking up the field as something to be auto-completed and stuffing the email address in it? If the latter is the reason then can the hidden field be marked with an attribute to NOT allow auto completion?
I temporarily commented out that check in my local plugin and it works great after that…. but I suspect there must be a reason to have had this there in the first place?
- The topic ‘Autocomplete causes Rainmaker to fail’ is closed to new replies.