Hi,
I share with the community how to add validation to check that a custom mask is complete.
To set a custom mask please follow the FAQ : https://www.chronoengine.com/faqs/70-cfv5/5204-how-to-add-a-custom-mask-to-the-text-box.html
In the "Validation" tab of the text input that has a custom mask, add in the field "Custom function" the name of your custom function to test completion. For example : checkComplete.
In "setup", add a "Load javascript" action and place the following code in the "JS code" field :
Hope it will help people.
Best regards
I share with the community how to add validation to check that a custom mask is complete.
To set a custom mask please follow the FAQ : https://www.chronoengine.com/faqs/70-cfv5/5204-how-to-add-a-custom-mask-to-the-text-box.html
In the "Validation" tab of the text input that has a custom mask, add in the field "Custom function" the name of your custom function to test completion. For example : checkComplete.
In "setup", add a "Load javascript" action and place the following code in the "JS code" field :
function checkComplete(el) {
if($(el).inputmask("isComplete")){return true}else{return false}
}
Hope it will help people.
Best regards
Hello dezi168,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How to add a custom mask to the text box
How can I show/hide a textarea when a checkbox is clicked?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How to add a custom mask to the text box
How can I show/hide a textarea when a checkbox is clicked?
P.S: I'm just an automated service😉
This topic is locked and no more replies can be posted.