I've built a form which basically is a blueprint of a (MySQL) table, where the user should be able to change some (but not all) values via select lists. For the fixed values, I've used form elements of "markup" type, i.e. with no type assigned. The problem is that I need to access these values from my submit-function (to determine where the updated values should be added to the table etc). But these values does not seem to exist in $form_values.
Is there a way to access them? Or must I use another form element type?
The only (and quite ugly) solution I've come up with is to use select lists instead, and limit them to one value (to prevent the user from modifying). But there must be a nicer way to achieve this...
...right?
Comments
It is not possible to access
It is not possible to access markup result in hook_submit().
You can also create a hidden type form and store the required data in the array or indivisibly.
by this way u can access your markup data in hook_submit.
Thanks.
Pradeep Singh