11/25/2024 6:38:50 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
|
|
|
|
Field validation
Posted: 27 Dec 07 5:49 PM
|
Hello all,
I am currently modifying some legacy forms that another developer created for us, and i had a few questions regarding field validation.
I have the columns in my database set to certain data types, and i selected the corresponding formatType when applicable, however i have some custom fields that do not conform to any of the predefined formats.
For example, i have one field that is xxxx-xx (x denotes a number 0-9), or another field that is a combo box with a list of 7 non-consecutive numbers in it.
Currently, i only have the Standard license so i am unable to create new scripts, so i am wondering if it is a possibility to do this with a format string.
Thanks |
|
|
|
Re: Field validation
Posted: 02 Jan 08 12:39 PM
|
Format properties only alter the way the data in the field appears after the user types something in and leaves the field - just to make things "pretty." To ensure that the user doesn't type things in that you don't want, you probably want to add some kind of script to the OnChange event of every field you want to validate - I think that's going to be your only avenue - it has been a LONG time since I did work in Legacy code. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|