Adding more field validation

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Adding more field validation

Postby cheemingyong » Tue Sep 05, 2017 7:15 pm

hi i know for edit or add tags, you can validate the field as a date or as an email or as a credit card and so on
is it possible to add in more of such validation in the code and reuse the validation as part of asp.net maker

i thought it will be pretty to cool to add in our own validation for the individual fields besides using what is
already provided. example entry formats etc
cheemingyong
 
Posts: 44
Joined: Wed May 17, 2017 12:00 pm

Re: Adding more field validation

Postby motfs » Wed Sep 06, 2017 9:52 am

You can add your own Custom validation functions. Read Field Setup -> Validation (for Add/Copy/Edit/Search) -> Validate (notes 3) in help file for more detail.
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Re: Adding more field validation

Postby duan » Tue Sep 12, 2017 5:13 pm

for some data, for example ,telephone number, is it possible asking user entering telephone number twice to check? I do not want to have two telephone number fields in database.
duan
 
Posts: 6
Joined: Thu Nov 22, 2012 4:04 pm

Re: Adding more field validation

Postby Webmaster » Wed Sep 13, 2017 9:26 am

Add a custom field for the table then add your custom validation in Form_CustomValidate.
Webmaster
 
Posts: 10733
Joined: Fri Aug 06, 2004 5:59 pm


Return to General Discussion (ASP.NET Maker)



cron