Where / How are the values getting to '$sanitizedValues'? I see from the $form object, but i cannot seem to retrieve them individually. There is a hidden value in my form that doesnt seem to be included in the values sent. Also, none of the values even seem to show when I print the '$santizedValues' array.
What am I missing here?
Maybe this will help a bit.
I have one action for addition of phone numbers. within that action it checks the params sent and if there is a value of 'number/new' it just shows the form. if 'number/edit/id/xxx' is sent instead of 'number/new', the id of that number is to be added to a hidden element and also the details of that record are initially populated in the fields. This all works up until i submit it. On an 'number/edit', the results I submit are retained in the fields, but I cannot access the hidden 'id' to check if it is set and add that element when the form is rerenedred.
thank you for your advice and time.
|