Add to button validation logic
-
Hi there,
I need your help….trying to add some rules as follows:Usually if you type in a number which is less than 86 (data-parsley-min=”86″) you will get an error message & the add to cart button is not activated till the error is fixed
https://free-picload.com/image/qsh5FN
How to add a similar rule (dynamic text is shown till condition is true)
An Example:
if Field [A] – Field [B] is less 30 show the error message & deactivate add to cart buttonif Field [A] – Field [B] is equal or greater 30 activate add to cart button
https://free-picload.com/image/qshSdF
Is there any way to add this logic? Maybe with data-parsley-message?
THX
- The topic ‘Add to button validation logic’ is closed to new replies.