You are viewing limited content. For full access, please sign in.

Question

Question

Forms Field Mask Public Form

asked on February 1, 2019

We have two situations where we are trying to use field masks as described in the Forms Help documentation on a public form. When referencing the js file in the JavaScript on the form, we are using the friendly URL for the form since it is a public form. When looking at developer tools in the Console we are seeing the following error:

Any idea why it is not finding the js file correctly? Here is the JavaScript being used:

$(document).ready(function () {
                $.getScript('https://friendlyurl/Forms/js/jquery.mask.min.js', function () {
                $(".phone input").mask("(999)999-9999");
                });
});

friendlyurl does have the actual domain in it, but I removed it since the form is not yet live. Using Forms 10.2.1.205.

2 0

Replies

replied on February 1, 2019

On the network tab you should be able to see the network call that resulted in the error. You might check to see if there's more detail in the response body for that call.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.