Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
EdmondsM #1
Dynamic Checkbox
Hi all, I have a set of check boxes that I have blank text fields next to.
When the user checks the check box the current date should be desplayed in the
field next to it. I am using a flash forms.
thanks
Maurice
EdmondsM Guest
-
Reading Dynamic Checkbox values
I have a resultset which has a Boolean field that I display in a table, however I am having a problem trying to update the data for these... -
Howto bind CheckBox to the datagrid/ Then update the database field when the checkbox is clicked.
I am trying to update the database field when the checkbox is clicked. I am trying to modified the following solution but.. got stuck on the... -
Dynamic function or javascript to change checkbox tounchecked?
I am wondering if there is a ColdFusion function or maybe some simple javascript that can help me. I want to dynamically change a checkbox from... -
pass dynamic checkbox values to results page?
ASP VB Access db Help! I'm trying to pass the results of dynamic checkboxes to a results pages. What's the easiest way to get this accomplished?... -
Multiple insert - iterate form collection - checkbox name dynamic?
How does one loop through the contents of a form complicated by dynamic construction of checkboxes which are assigned a 'model' and 'listingID' to... -
kenji776 #2
Re: Dynamic Checkbox
well although this may not solve your whole question, but part of what you can
do is a statment
<cfif isdefined(#form.checkboxname#)>
<input type="text" value="predefined value for checkbox">
</cfif>
I don't know how you can make happen withou refreshing the page though. Maybe
that helps, maybe not. Good luck.
kenji776 Guest
-
EdmondsM #3
Re: Dynamic Checkbox
Thanks kenji776, how would I go about refreshing the page after I check the check box. I have search high and low, but can find a way to do it without doing a refresh.
EdmondsM Guest
-
kenji776 #4
Re: Dynamic Checkbox
Well unless I am wrong, clicking submit usually refreshes the page. Or
something similar to that. Not sure if the submit creates an actual refresh, or
just an incredable simluation. Either way, a submit button should trigger the
text boxes getting swapped over.
kenji776 Guest
-
NuroTec #5
Re: Dynamic Checkbox
Do it with JavaScript.
Just set a VAR= new date(today) in a function,
when the onClick attribute gets kicked off by a checkbox, set the value
attribute of the text field to the VAR previously created.
Enjoy,
Paul
NuroTec Guest
-
EdmondsM #6
Re: Dynamic Checkbox
Hi NuroTec, this will probably work, but I am finding that you can not do Javascript within flash pages.
EdmondsM Guest



Reply With Quote

