Forced Formatting For An Order Form Field

    Follow

    Here is how you can apply some forced formatting to an Order Form field, for example, a phone number or an account number.

    Add the script below to your form and replace FIELDNAME with the name of your field.

     

    <script type="text/javascript">
    $(function() {
     $('#udf_FIELDNAME').mask('999.999.9999');
    });
    </script>

     

    Below is an example of that being used, I can only type numbers and only in a specific format.

    Pagepath_-_New_Form_-_Google_Chrome_2018-09-25_08.37.27.png

    Comments

    Powered by Zendesk