Mask Plugin in DFFS Field

Forums Classic DFFS Mask Plugin in DFFS Field

Viewing 1 reply thread
  • Author
    Posts
    • #8601
      lzuhuo
      Participant

      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

    • #8620
      Alexander Bautz
      Keymaster

      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

Viewing 1 reply thread
  • You must be logged in to reply to this topic.