Data Validation, Masking, Get Error from Database - Forum

Forum Navigation
You need to log in to create posts and topics.

Data Validation, Masking, Get Error from Database

Hello Guys,

Anybody know how to :

1. Make validation like :

  1. Prevent mandatory empty field to submit.
  2. Using masking to number field, ex : 08999999 become 0899-9999-9
  3. force using UPPERCASE on Text Field

2. i want to generate current datetime from client side then set to id field, Calculate Age (get years, month)  from day of birtday

3. How to using Concat Value (using attached file on curl_json page) so  i am dynamically call json based certain values

like this "https://reqres.in/api/products/3"

so 3 (last character) will be dynamic value.

Thank you everyone for sharing.

 

 

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @suyonob

Prevent mandatory empty field to submit.

Check variable value before submit the form. Take a look at the "FormSubmit" included sample app

Using masking to number field, ex : 08999999 become 0899-9999-9

Use neoInputMask command.

force using UPPERCASE on Text Field

Use the InputText change event (double click the InputText object to add your code) and StrUpper command on the InputText variable.

i want to generate current datetime from client side then set to id field, Calculate Age (get years, month) from day of birtday

Use neoDate plugin.

How to using Concat Value (using attached file on curl_json page) so i am dynamically call json based certain values

Sorry, I don't understand your question.
PLease try adding your questions one at a time.

Regards.

 

 

suyonob has reacted to this post.
suyonob

Thank you @luishp

This Morning i understand about your answer, the key point is i have to add Form Component and connect with php file.

also about Concat between Variables that using StrInsert.

I will try further about your suggest and post my test file into this forum, maybe someday anybody need it.

:-)

luishp has reacted to this post.
luishp