Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all articles
Browse latest Browse all 5979

Assign cfinput checkbox value

$
0
0

I have following code to assign value from my stored procedures.

The text cfinput works to get value from stored procedure, but check box does not get value.

The check box value return to 1, but check box does not check.

 

I would like to know are there any way to assign a stored procedure value to check box.

 

Your help and information is great appreciated,

 

Regards,

 

iccsi,

 

 

<td><cfinput type="checkbox" name="Mychk" id="Mychk" value="#MySP.MyCheckValue#"></td>

<td><cfinput type="text" name="Mytxt" id="Mytxt" value="#MySP.MyTextValue#"></td>


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>