Hello... (Bob ;-)
To update a field from a table with BelongsTo relation
Comprofiler->Users
I do that in edit
For Users.Comprofiler[cb_awards_obtained_dyn]
I try
but the cb_awards_obtained_dyn is never update
do you have an idea, maybe ?
Must we include an hidden input with the Comprofiler id?
thanks
best regards
chris
To update a field from a table with BelongsTo relation
Comprofiler->Users
I do that in edit
<p>Name : <input type="text" name="Users[name]" id="Users[name]" value="{Users.name}"> <br />Username :<input type="text" name="Users[username]" id="Users[username]" value="{Users.username}"></p>
<p>Awards obtained : <input type="text" name="Users.Comprofiler[cb_awards_obtained_dyn]" id="Users.Comprofiler[cb_awards_obtained_dyn]" value="<?php echo $row['Comprofiler']['cb_awards_obtained_dyn']; ?>">
For Users.Comprofiler[cb_awards_obtained_dyn]
I try
Comprofiler[cb_awards_obtained_dyn]
Users[cb_awards_obtained_dyn]
Users[Comprofiler][cb_awards_obtained_dyn]
..etc
but the cb_awards_obtained_dyn is never update
do you have an idea, maybe ?
Must we include an hidden input with the Comprofiler id?
thanks
best regards
chris