Hello -
Is there a form validation rule within fusion pro, that will only allow numbers as the input to the field once imported to the Marcom template generator? If not, is there anyone who has had tackle this challenge?
I've searched extensively and attempted my writing my own rule with no luck.
Here's what I've got, and I've tried various variations of this.
var num = Field("zip");
var x = num.CharCode;
if (num == "" || x < 48 || x > 57) {
return false;
}else{
return num;
}
Thanks!