Suggested condition in form
-
Hi, I noticed that when using 2 similar forms both also using similar conditions on the same page, it could generate a fault condition on the form, for both forms use the same ids for specific fields. example:
Note that the ID is the same for both fields of different forms, my suggestion is you add other identification to this field.
Form 1
function cond_5330a7f9e750d(){
var t0 = document.getElementById(‘checkbox-5330a6f30567a’).checked;
var res = (t0);
document.getElementById(‘fm-item-quem_indicou’).style.display = res ? ‘block’ : ‘none’;
}
cond_5330a7f9e750d();Form 2
function cond_531fd9e5caa4c(){
var t0 = document.getElementById(‘checkbox-52f0f4a7f1239’).checked;
var res = (t0);
document.getElementById(‘fm-item-quem_indicou’).style.display = res ? ‘block’ : ‘none’;
}
cond_531fd9e5caa4c();https://www.ads-software.com/plugins/wordpress-form-manager/
- The topic ‘Suggested condition in form’ is closed to new replies.