Mask Plugin in DFFS Field
- This topic has 1 reply, 2 voices, and was last updated 11 years, 1 month ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Mask Plugin in DFFS Field
Hi Alex.
How can I use mask plugin from jquery in DFFS forms?
I try to use by spjs:
$(spjs.dffs.fields.phone_number).mask(‘(99) 99999-9999’);
and by ID:
$(‘#phone_number_aad2c59f-13bd-4563-aac8-6ef756398f6d_$TextField’).mask(‘(99) 99999-9999’);
Even including jquery.maskedinput.min.js on frontend it is not working.
Thanks
Hi,
I have tested this by loading the mask plugin and addressing the Title field like this:
$("#dffs_Title").find("input").mask("(99) 99999-9999");
Change Title to your fields FieldInternalName.
Alexander