Hi,
I have SC working great for publishing entries. I want to use it to edit entries as well. One of my fields is a Matrix field. I want users to have limited options for the matrix field, basically, just check boxes for one column and a text input for the other. They can only edit the check boxes.
This works great for publishing new entries, but when they edit an existing entry, matrix ends up keeping the old rows and adding new ones, instead of just changing the existing ones.
This is the code I’m using to edit the entry:
{matrix_field}
<dt>
<input type="hidden" name="reg_itinerary_matrix[row_order][]" value="row_new_{row_id}">
<input type="hidden" name="reg_itinerary_matrix[row_new_{row_id}][col_id_41]" value="{meeting}">
<label><input type="checkbox" {if attending=='y'}checked="checked"{/if} name="reg_itinerary_matrix[row_new_{row_id}][col_id_36]" value="{attending}" /><span>{meeting}</span></label>
</dt>
{/matrix_field}
Any ideas?
PS, it’s also not working to embed the matrix tag pair in the SC form. I’m having to use an embedded template with a channel tag in it.