I can't convince ad_form to place a value in the hidden field it generates for the :key, whether I pass in the key value, let it figure it out from the default _seq or specify my own _seq.
I wen as simple as:
ad_page_contract {
} {
object_one_id
}
set object_one_title "[item::get_title $object_one_id] ($object_one_id)"
set form_name "rel_form"
ad_form -name $form_name -form {
object_one_id:key
{object_one_title:text(inform)
{label "Object one"}
{value $object_one_title}}
}
and the form contains:
<input type="hidden" name="object_one_id" />
I notice a whole gob of changes to the key and error handling since 5.0, can anyone offer any suggestions/culprits?