Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, February 21, 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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: DoNotSolicit help
Hilary Anglin
Posts: 17
 
DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 11:52 AM
fiogf49gjkf0d
I am a sinking ship needing help... On the ConInfo screen is a do not solicit check box which calls onClick="changeDoNotSolicit();" Can someone tell me where I can find this funciton that it is calling?
I need 4 separate Do Not Solicit fields (on AccInfo) and mimiced them like the preexisting ConInfo alias ConDoNotSolicit. I can check the boxes, update and the values change. Once they are checked and I uncheck them, the values do not change when I update the screen.

I am guessing that the changeDoNotSolicit() function needs modified, but I don't know where to find it.
Any help would be greatly appreciated. I don't know if the "id" has anything to do with it.

My version like condonotsolicit
<input type="checkbox" name="dnsmail" id="dnsmail" value="<#FIELD name=dnsmail format=9 formatstring=T/F>" <#FIELD name=dnsmail value="T" options=K> onClick="changeDoNotSolicit();"><input type="hidden" name="dnsmail" value="<#F name=dnsmail format=9 formatstring=T/F>">

[Reply][Quote]
Hilary Anglin
Posts: 17
 
Re: DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 12:15 PM
fiogf49gjkf0d
MOre detail:

I set up to of my do not solict fields different, both display a true if a True was already existing the database. One version allows me to check a box and it updates it correctly. The other version does not. Neither version will allow me commit a box that was checked to uncheck.

Displays correct value from table T and F, commits True checks, does not not commit False unchecks:
<input type="checkbox" name="dnsemail" id="dnsemail" value="T" <#FIELD name=dnsemail value="T" options=K> onClick="changeDoNotSolicit();"><input type="hidden" name="dnsemail" value="<#F name=dnsemail format=9 formatstring=T/F>">

Displays correct value from table T and F, does not commit True checks, does not commit false unchecks (mimiced like the coninfo donotsolicit):
<input type="checkbox" name="dnsmail" id="dnsmail" value="<#FIELD name=dnsmail format=9 formatstring=T/F>" <#FIELD name=dnsmail value="T" options=K> onClick="changeDoNotSolicit();"><input type="hidden" name="dnsmail" value="<#F name=dnsmail format=9 formatstring=T/F>">
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 1:07 PM
fiogf49gjkf0d
I don't work with the web client often, and it's been a really long time since I've checked that template, but IIRC I thought the function was defined on script right on that same template. Do you not see it in a script block on that template?
[Reply][Quote]
Hilary Anglin
Posts: 17
 
Re: DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 1:30 PM
fiogf49gjkf0d
I just found it... many functions are called globally from outside of the template. Thanks




[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 5:26 PM
fiogf49gjkf0d
Look in coninfo.js. It should be there.

If you have multiple checkbox items to do, you can create a generic function that passes in the current check box control and use the javascript eval() function to update the corresponding hidden field. That way you only have one additional javascript function. The eval() does have a performance penalty, but probably not noticeable in the browser.

Jeff
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: DoNotSolicit helpYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Mar 07 5:27 PM
fiogf49gjkf0d
D'oh! Maybe I should read the entire thread before I reply.

Jeff
[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): 2/21/2025 5:34:40 AM