Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, September 20, 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: Assign picklist with JS variable
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 11:26 AM
fiogf49gjkf0d
Is it possible to assign a picklist with a JS variable? I am trying this, but not having much luck.. I am trying to popup a window and present a picklist based on what state the user has chosen.

On my popup page, I have a variable I am getting from a querystring - qsVariable

I am trying to put the js inline in the html as follows:
....inside body tag
<form name=mainform>
<script language="JavaScript">

document.writeln('<#PL name=concounty list="'+ qsValue +'" value= options=Q onchange="" tabindex="205">');

</script>
...rest of html

It returns ---Bad Picklist---. I know my variable is the name of a valid picklist.. Am I trying to do something that can't be done? thanks
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 12:59 PM
fiogf49gjkf0d
Steve, you are mixing server side and client side technologies. All of the SalesLogix tags are handled server side before the page even gets to the browser. Once it gets to the browser the javascript is executed.

I believe the ticket screen has an example of cascading picklists that should head you in the right direction.

Timmus
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 1:09 PM
fiogf49gjkf0d
I was afraid of that.. I went to check tickets and I get the error:
Internal Application Error
File specified by template "csrsearchfrmtick" was not found.

Then when I try to open the tempate from the slx web manager I found out it is looking for
D:\Program Files\SalesLogix\Web Components\slxweb\Employee\Search

I don't have an employee folder in my directory.. do I need to install a bundle or something?

Can you tell this my first modified web implementation? I have actually been to training too... I sense I am not the only who finds the web client a bit challenging. Thanks for the help as always.


[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 1:17 PM
fiogf49gjkf0d
Found the folder on another implementation and moved it - seems fine. Any idea why I wouldn't have that folder in my implementation? Just curious.. I feel like I am using up all my questions.. hehehe
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 2:29 PM
fiogf49gjkf0d
I am not sure, Steve. Maybe compare bundles between the two systems?

Timmus
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Assign picklist with JS variableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Dec 06 4:35 PM
fiogf49gjkf0d
Could SalesLogix have installed it to "c:" instead of "D"?

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 © 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): 9/20/2024 6:01:55 PM