HTML5 Data Bindings Support Product Page
Under investigation
How do I bind a checkbox on a repeat region?
Reported 12 May 2014 16:57:20
1
has this problem
12 May 2014 16:57:20 James Young posted:
I am trying to bind "didattend" value <tr>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
<th>Name</th>
<th>Email Match</th>
<th align="center">Guest</th>
<th>Attendance</th>
<th> </th>
</tr>
<tr data-binding-repeat="{{LuncheonAttendees.data}}" data-binding-id="repeat1">
<td>{{FirstName}}</td>
<td>{{LastName}}</td>
<td>{{email_address}}</td>
<td><input name="name" type="text" id="name" value="{{name}}" size="10" />
{{name}}</td>
<td>{{email}}</td>
<td align="center">{{guestcount}}</td>
<td><input name="didattend" type="text" id="didattend" value="{{didattend}}" size="6" />
<td align="center"><input type="checkbox" name="checkbox" id="checkbox" /></td>
<input name="attendee_id" type="text" id="attendee_id" size="4" data-binding-value="{{attendee_id}}" /></td>
</tr>
Replies
Replied 13 May 2014 08:36:20
13 May 2014 08:36:20 Teodor Kuduschiev replied:
Hi James,
Do you want to read the checkbox value from a database or do you want to submit this to your database using the database updater php/asp?
Do you want to read the checkbox value from a database or do you want to submit this to your database using the database updater php/asp?
Replied 13 May 2014 12:49:05
13 May 2014 12:49:05 James Young replied:
For this example I am trying to show a list of names with certain checkbox being checked. This would be a repeating list of names with certain names haveing a checkbox.
I of course and also interested in how to use it in a form for submission. Thaks for your help.
I of course and also interested in how to use it in a form for submission. Thaks for your help.