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 -> ASP

 How to hide/unhide a control base on checkbox

Print topic Send  topic

Author Message
Jan K. van Dalen
Posted: 05/08/2008, 3:57 PM

Hi Everyone,

I have an update form in which I need to hide/unhide fields depending on the
value of a checkbox on the same form (which the user can change at any
time).

using CCS 4.0 (.15) ... any ideas?

DaveSause

Posts: 14
Posted: 05/09/2008, 1:33 PM

This may be too complicated, but here's a thought. Basically when the user retrieves a page it's static, there is no reaction to any data input until he clicks submit, and then it must branch to another page, or back to the same page (in essence refreshing it).

So... could you first get him to respond to the check boxes one at a time, and then branch to two possible pages, one with field shown, one with it hidden, based on his response?

Dave

_________________
Dave Sause
View profile  Send private message
wkempees


Posts: 1679
Posted: 05/09/2008, 3:43 PM

http://forums.codecharge.com/posts.php?post_id=87959

Assuming you want the control to hide unhide as you check/uncheck the checkbox
without page refresh (submit), I would suspect you need to solve it JavaScript.

Above post gives a good hint as to what you need.

(ALERT: all Js guru's jump in)

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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