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

Question

Question

phone number/ssn format in grid field

asked on June 18, 2019 Show version history

I have forms 10.2 and I am creating a form that has phone#, SSN#, email, etc but I have them in the grid field.  So I can not use regular expressions and I do not know any Java or css.  Is it possible for me to set the fields to reflect the SSN, Phone# & email formats?

0 0

Replies

replied on November 6, 2019

I normally use jQuery mask. From there it is just defining the classes in the advanced tab of the field. 

$(document).ready(function(){
	$.getScript('https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.16/jquery.mask.min.js', function(){
		$(".Phone input").mask("(000) 000-0000");
		$(".Ssn input").mask("999-99-9999");
	});
});

 

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

Sign in to reply to this post.