Hi All,
I was facing issue inside my form, I had given conditions on two editbox username and password
In Username editbox I had given two conditions:
1] event = is empty, action = Disable, target = ebx_Password
2] event = is not empty, action = Enable, target = ebx_Password
In Password editbox I had given two conditions:
1] event = is empty, action = Disable, target = btn_Login
2] event = is not empty, action = Enable, target = btn_Login
Also I had noticed that whenever Iam giving the "Vaildations" in "Validate" Tab the conditions for Editbox are failing.
But even after this the conditons are not working as expected and value are getting entered in password editbox even if username editbox is
empty and login button is getting clicked even if password editbox is empty.
please help me on this topic!
Editbox Conditions Not Working Properly
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: Editbox Conditions Not Working Properly
To be able to help you, I need a demo project so I can see all your settings.
See also:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
See also:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Re: Editbox Conditions Not Working Properly
Hi Pablo,
https://drive.google.com/file/d/1D3j74y ... sp=sharing
the above link contain the same sample project in which I'am facing issue.
Please check my setting in Validate and Condition tab of Both EditBoxes that is for Username and Password EditBox.
Thanks.
https://drive.google.com/file/d/1D3j74y ... sp=sharing
the above link contain the same sample project in which I'am facing issue.
Please check my setting in Validate and Condition tab of Both EditBoxes that is for Username and Password EditBox.
Thanks.
Re: Editbox Conditions Not Working Properly
I have found two issues:
- for the validation of the password field, you have used an invalid regular expression. This breaks the JavaScript.
- the 'Create a new account' button is a link. Links cannot be enabled/disabled. This only works for standard (form) buttons.
https://www.w3schools.com/tags/att_button_disabled.asp
- for the validation of the password field, you have used an invalid regular expression. This breaks the JavaScript.
- the 'Create a new account' button is a link. Links cannot be enabled/disabled. This only works for standard (form) buttons.
https://www.w3schools.com/tags/att_button_disabled.asp
Re: Editbox Conditions Not Working Properly
Hi Pablo,
Thanks, the issue was Occuring due to custom validations being entered in my password Editbox.
Can you please show me how to add custom validations for password?
Thanks!
Thanks, the issue was Occuring due to custom validations being entered in my password Editbox.
Can you please show me how to add custom validations for password?
Thanks!
Re: Editbox Conditions Not Working Properly
I'm sorry, I cannot help you with custom regular expressions.
How ever, this is standard JavaScript functionality so this is not specific to WWB.
How ever, this is standard JavaScript functionality so this is not specific to WWB.