How to change the text of pop up window?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

azaleas
Ebase User
Posts: 81
Joined: Thu Jul 30, 2015 12:44 pm

How to change the text of pop up window?

#1

Postby azaleas » Tue Sep 08, 2015 8:50 am

If we make a field mandatory, or put some filters to it (i.e. Regex Patters), a pop up window appears with the default text. Can we interact with that text in a simple way?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Sep 08, 2015 10:45 am

In the designer tree open the Messages file for the project you are working on, and create a new message with the validation text that you want displayed. Then select the field in question (in the Fields View) to display its properties, click on Validators, select the appropriate regex validator, click the properties icon on the toolbar, click the more button, then select the use Message id radio button and enter the message number.

The instructions above change the validation text for just a single field. To change all occurrences you should edit the appropriate system text (Tools > System Texts Editor), the regex validator messages are 508/509 and 521/522.
0 x


Who is online

Users browsing this forum: No registered users and 10 guests