This content has been marked as final. Show 8 replies
What is the plan for getting it populated? User input? Action Script function? Value attribute?
the value should come from a query
> the value should come from a query
just display it as text instead of in an input field?
if you need the value in your form scope, duplicate it into a hidden
field? (do cf flash forms support hidden fields?)
That is not what I want. It looks like I need to make sure that the DateField must be popuplated before it is disabled. How to do so.
If the datefield is enabled from the page load...it is working
If the datefield is disabled from the page load than NO CHANCE to get the field populated. There should be a way!! HOW?
Try the sample code that I have attached in my previous posting...you will understand.
What do you intend to use this disabled form field for?
If the radio button is selected, then this will enable the datefield to be modified otherwise the value, coming from the database, is shown and the datefield is disabled.
since you are using flash forms, i guess you will have to write some
ActionScript to disable your date field after it is populated with
data... not sure if you can do it with js for flash forms...
i remember asfusion.com having a lot of useful info on cf flash forms
Why not make your date field "Readonly"?
<cfinput type="datefield" name="wfcDate" label="Date" readonly
required="yes" validate="date,noblanks" width="100" value="#wfcDate#"/>