Is it possible to constrain a type int with regex? I need that the surveyor
enters with currency number like 9.999,99 (this is Brazil's currency
syntax). What is the regex syntax for this type of question?
Thanks
Is it possible to constrain a type int with regex? I need that the surveyor
enters with currency number like 9.999,99 (this is Brazil's currency
syntax). What is the regex syntax for this type of question?
Thanks
I wouldn't use the integer or decimal prompts because they save to a
non-localized format (i.e., removes the period and comma). Use a
string prompt but with appearance="numbers".
Then you can use a regex lie "[\d]+.[\d]+,[\d]+" should work. Iterate
on it at http://rubular.com.