I am new in coldfusion.I have created dynamic List of checkboxs and corresponding to each checkbox
there is three textbox list namely fitrate(net rate),allotment,cutoff.
Code, which i have used is below
(1) For Checkboxs
<CFLOOP query="roomTypesInfo">
<input name="twebroomtypes_name" type="checkbox" value="#twebroomtypes_id#">#roomtype#<br>
</CFLOOP>
(2) For TextBoxs
<CFLOOP query="roomTypesInfo">
<INPUT TYPE="TEXT" NAME="fitrate" SIZE="2" MAXLENGTH="5" VALUE=""></INPUT><br>
<INPUT TYPE="TEXT" NAME="allotment" SIZE="2" MAXLENGTH="5" VALUE=""></INPUT><br>
<INPUT TYPE="TEXT" NAME="cutoff" SIZE="2" MAXLENGTH="5" VALUE=" "></INPUT><br>
</CFLOOP>
Where "roomTypesInfo" is a query which is retrived no. of roomTypes from
Database.
Now what i want to do is to add fitrate(net rate),allotment,cutoff into database corresponding to each "twebroomtypes_name" checkbox selected.
It is allowed to the user let blank the any of the three textbox list.
So, my problem is that how can i check blank(null) value in three textbox corresponding to the selected checkbox(roomtype).
If require more description inform me.
Pls reply me as soon as possible.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

