CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 listbox control values: client-side

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 07/14/2008, 8:32 AM

When you have a listbox and at run-time you select a value from it (ex. apple), does it not hold that "apple" value when you select it, or does it only "select" the value when submitted to the database.

Looking through the page source via firefox, it doesn't show the listbox value for the specific person as having any value. I guess it gets value once submitted server side.

So my question is: I can't do conditional javascript code (if/then) on this listbox client-side, i would have to do it server side?

-Chris
View profile  Send private message
Oper


Posts: 1195
Posted: 07/14/2008, 5:12 PM

NewRecord.ListBox1.value

Case sensitive during Java Script it work for me (client side)

use validate what people choose and disable or enable few checkbox (Client Side)


maybe i did not understand your issue.


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 07/15/2008, 8:04 AM

Yeah, maybe we are on the same page.

I want to use the listbox value to determine a number value that goes in a textbox

ex. if listbox = "apple", then textbox = 4

I was wondering if this could be done in javascript, in an editable grid.

Do it during onblur event, so when they select "apple" after they leave that box, it makes the 4 appear in the textbox
View profile  Send private message
Oper


Posts: 1195
Posted: 07/16/2008, 7:51 PM

yes sir.

also thenew feature in CCS will do that too and looking the data to put in the text box form a table.

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Chris__T


Posts: 339
Posted: 07/17/2008, 6:44 AM

which new feature? And what version of CCS is this new feature in? i'm running 3.1.0.2
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.