CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Help

Print topic Send  topic

Author Message
informatica

Posts: 1
Posted: 07/19/2006, 6:23 AM

how can i change one field in a textbox when i change de value in one listbox.
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 07/19/2006, 8:21 AM

informatica
Seems like you are trying to make a dependent textbox. You are probably going to have to use javascript. Here is a link that may be helpful: http://examples.codecharge.com/CCSExamplePack2/Dependen...dentListBox.php
It may not be exactly what you need but it may point you in the right direction.

You could also probably do a search on Google as well.
View profile  Send private message
eserver221
Posted: 07/19/2006, 6:22 PM

You can add a custom client event onBlur, when the focus leave that very textbox, the form submitted. Then in the server event beforeShow of ListBox, you can change its value based on the textbox field value Submitted!
Paulo Rodrigues
Posted: 07/20/2006, 1:25 AM

:( Is not exacly what i need but it's ok, thank you.

I have two tables, (agregados, elementos)

I'm working in "agregados" and i have to put two fields from "elementos"

one is "name" by a listbox and the other "contact" should appear automatly when i pic the value of "name"
eserver221
Posted: 07/20/2006, 5:55 PM

If you would not like to submit the form, you can use Ajax or startdownload of HTML implementation which would also need a textbox client event onBlur. In the server end, a custom jsp with corresponding URL parameter appended will retrieve the value back., then in the onBlur event you need delete the ListBox first, then create a new Listbox with value retrieved back.

Best Regards!

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.

MS Access to Web

Convert MS Access to Web.
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.