Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, April 24, 2024 
 
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: Disabling the F8 functionality
Alec Denholm
Posts: 23
 
Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 8:18 AM
When a user presses F8 in the web client, a message box appears displaying all the hidden fields on the form and their values. I would prefer it if this didn't happen, is there a way to disable it?

Thanks.
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 11:13 AM
fiogf49gjkf0d
Alec,

In the jscript\behaviors folder there is a "pageinfo.htc" file, which is attached to the body element. There is an if statement that evaluates the event.keyCode. The last if traps the keycode of 119, which is the F8 key. Just comment out that section. You way want to comment out the whole thing - F12 and F10 are captured, too.

Personally, I think it's bad form to leave a debugging utility like this behavior in a production release, but it's there. It should at least be harder to invoke.

Jeff

[Reply][Quote]
Alec Denholm
Posts: 23
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 11:24 AM
fiogf49gjkf0d
That's what I needed to know, great, thanks.

Hopefully this won't be on by default for 7.2..?
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 11:28 AM
Hopefully not - the comments in the file specify that it's for QA personnel's use. If that's the case, then why include it in the public release?

It's been around since at least 6.2.3; I don't remember if it was in 6.2.2 or prior.

One other way to disable it (that might be easier) is to open the body.css file, and in the BODY section, remove (or comment out) the line

 behavior: url(/slxweb/jscript/behaviors/pageinfo.htc); 


That would unattach the behavior from the body tag.

Jeff
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 11:59 AM
Hey I think that is cool! I never even knew you could do that in the web client! (Although it would sure seem like something you should be able to easily turn off in a production app!)
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 07 12:02 PM
I guess you're right, it is cool (and has come in handy), but it should be a switch you can easily set somewhere. It's not something that should require code modifications...

Of course, the web client shouldn't be based on such old technology, either.

Jeff
[Reply][Quote]
David Nunnally
Posts: 206
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Apr 07 8:49 AM
Quote:
Of course, the web client shouldn't be based on such old technology, either.

Jeff


Here! Here!
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 07 7:34 AM
Quote:
Originally posted by David Nunnally



Here! Here!


Be careful.. you "might" just get what you asked for
--
rjl
[Reply][Quote]
David Nunnally
Posts: 206
 
Re: Disabling the F8 functionalityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 07 9:26 AM
I never get WHAT I ask for! Just what everyone else thinks I asked for!

Which is NEVER what I asked for!
[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 © 2024 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): 4/24/2024 11:39:23 PM