Skip to main content
Participant
January 25, 2024
Answered

field format to UPPERCASE

  • January 25, 2024
  • 1 reply
  • 508 views

HI, I am building a form and I want to know if I can set a rule/condition/parameter so that when people fill out the form, regardless if they use upper or lower case, the form converts it automatically to uppercase. Is there a way to do that?

Ex: I fill in Name: John Smith but the form or the field converts it to JOHN SMITH.

 

thank you,
Patricia.

This topic has been closed for replies.
Correct answer Nesa Nurani

You can place this as validate script of that field:

if(event.value)
event.value = event.value.toUpperCase();

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
January 25, 2024

You can place this as validate script of that field:

if(event.value)
event.value = event.value.toUpperCase();