Forum OpenACS Development: ad_form with text as key

Collapse
Posted by Rainer Hahnekamp on
Hello,

I've here the following problem with ad_form:
I have to use a string as key field. Since an integer is expected I am getting a validation error.

Does somebody know a workaround or a way to fix this issue?

Collapse
Posted by Dave Bauer on
ad_form only support integer keys. You can skip using the key feature and just supply the data as a hidden form element. In this case you can only use the -on_submit block to process the form.