- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:46 PM
Hi All,
Actually in Record Producer , i have some number type variables, i have given type as single line text, So my requirement was those variables should only allow numeric value, ?
Is there any possible to only one client script for all the variables to validate?
Please help me on this
Thanks
Deepika
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 12:02 AM - edited 10-05-2023 12:03 AM
You might need to add the field to the form. It's OOTB Platform functionality, which is available for everyone.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:48 PM
Hi @Deepika61,
On the type specifications tab of the variable, you can select which regex to validate. You can select Number there, to validate if only numbers are entered.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:56 PM
Thanks for the response, but no luck, i was look for that but , its not available for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 12:00 AM
Hi @Deepika61
You can try for regular expressions "/^\d+$/" or you use isNaN() function in your client script to check for numbers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 12:02 AM - edited 10-05-2023 12:03 AM
You might need to add the field to the form. It's OOTB Platform functionality, which is available for everyone.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.