How can we add some client script in App Engine Studio?

Bird1
Mega Sage

Hello

I have just started to create a new App in App Engine Studio. I could create a Record Producer form easily but I would like to add some client script ie. allow numeric only or allow only 15 digits. How could I add in App Engine Sudio?

 

 

1 ACCEPTED SOLUTION

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Bird,

If it's just checking if the entered field is numeric or is 15 digits, there is no need to create a script.

To validate a field to be numeric, select "Number" as Validation.

find_real_file.png

Custom validation can also be created.

  1. From Navigator, select "Service Catalog" > "Catalog Variables" > "Variable Validation Regex"
  2. Create the "New" button and enter a regular expression.
    For example, regular expression to check if the entered string is 15 digits is as follows:
    ^[0-9]{15}$

If the question is about creating a client script, client script can be created by the following step. Scripts are defined from the UI pages.

  1. From Navigator, select "Service Catalog" > "Record Producer"
  2. Select the record producer
  3. At the bottom of the page, select "Catalog Client Scripts" tab and select the "New" button.

find_real_file.png

View solution in original post

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi Bird

App Engine Studio is just a central where you can create Apps from templates or imported data easily. 

If you want to add some additional logic, you have to use the UI Builder.

Kind regards
Maik

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Bird,

If it's just checking if the entered field is numeric or is 15 digits, there is no need to create a script.

To validate a field to be numeric, select "Number" as Validation.

find_real_file.png

Custom validation can also be created.

  1. From Navigator, select "Service Catalog" > "Catalog Variables" > "Variable Validation Regex"
  2. Create the "New" button and enter a regular expression.
    For example, regular expression to check if the entered string is 15 digits is as follows:
    ^[0-9]{15}$

If the question is about creating a client script, client script can be created by the following step. Scripts are defined from the UI pages.

  1. From Navigator, select "Service Catalog" > "Record Producer"
  2. Select the record producer
  3. At the bottom of the page, select "Catalog Client Scripts" tab and select the "New" button.

find_real_file.png