Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, June 18, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Form OnValidate Always Firing
Chelsea McGowan
Posts: 7
 
Form OnValidate Always FiringYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 07 11:21 AM
fiogf49gjkf0d
It was my understanding that OnValidate was only supposed to fire if data changes are posted.

On my opportunity form, the OnValidate is called every I go from record to record. I would like it to only
be called when a value on the form changes .. I don't want someone just flipping through the records to be
required to enter the fields...

I tried adding an onChange event to the visible controls, and only if those controls fired the onChange set a flag to Validate.
OnChange fires when I move from record to record.

And Advice would be great - Thanks!
[Reply][Quote]
RJ Eaton
Posts: 234
 
Re: Form OnValidate Always FiringYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Apr 07 12:20 PM
fiogf49gjkf0d
The On Change events have always fired on the FormChange..

I have not had any problems with the OnValidate.. only firing when a form change has been made..

Id it not processing the validation.. what is making you think it is not or is working too much..?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Form OnValidate Always FiringYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Apr 07 6:54 PM
fiogf49gjkf0d
I haven't checked that this, but perhaps you have some background code in the form's OnChange (or some similar event) which always updates a text box/field (perhaps even to itself) - thus forcing OnValidate to fire every time?
[Reply][Quote]
Chelsea McGowan
Posts: 7
 
Re: Form OnValidate Always FiringYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Apr 07 11:09 PM
fiogf49gjkf0d
That is what I was thinking .. I tried to step through all the code, and so far I haven't seen anything doing that.

I will continue to look through all the code.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/18/2025 8:31:09 AM