Forums

Add javascript to load (Force Uppercase, Masking & Validation) in multiplier

chekwan 11 Mar, 2017
Hi..

I have an issues with javascript in some fields in multiplier. My multiplier do not load the javascript in default On Load action event:
- Required validation
- Force uppercase script
- Masking script

I need this javascript to be apply in my field:
- Fields is required and compulsory
- Name ( Force uppercase javascript)
- Email ( email validation
- Mobile Phone ( with masking data-inputmask='mask' : '+60199999999[9]' )

But when I read some Q&A in forums, some suggest to read this FAQ:
https://www.chronoengine.com/faqs/70-cfv5/5245-how-can-i-use-the-multiplier-in-cfv5.html

https://www.chronoengine.com/forums/posts/f2/t102389/javascript-function-call-from-multiplier-content.html


Can someone guide me or give me the example of the onCLick javascript for the each validation above so it can load in multiplier.

Sorry I don't have any knowledge in javascript language.
GreyHead 11 Mar, 2017
Hi chekwan,

You can do all of these about from the 'Force uppercase' using the built-in validation and mask settings.

If you don't know any JavaScript then the easiest way to manage the uppercase requirement is probably to change it after the form submits. Or you can use a mask to only allow uppercase - see here

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger