Forum OpenACS Development: Re: ad_form newbee Question

Collapse
Posted by Ryan Gallimore on
Not entirely certain what the problem is. But check out this quick sheet for help: http://home.galileo.edu/~miel/openACS/pdf/ad-form-quick-ref.pdf
Collapse
Posted by Cesareo Garci­a Rodicio on
Hi!

Yes, I have that quick sheet and I think I put everything. the problem is that it seems to be that the form only send one field and not four as I expect.

Thanks
Cesáreo

Collapse
Posted by Cesareo Garci­a Rodicio on
Finally it was a very silly error 😊 I did read a lot of documentation, problem was with select options.

This field has to be a list of dooble list, for example:

set priority_options { "1" "2" "2" } is bad but ...
set priority_options { {"1" "1"} {"2" "2"} {"3" "3"} } is good.

So, I had to put label AND value. Now, it works.