⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Select, radio and checkbox



sergio.lara

sergio.lara
  • profile picture
  • Member

Posted 29 June 2012 - 00:29 AM

Greetings!

I started to develop an app using this amazing tool, however, I've got myself stucked on small problem.

I'd like to add into my form a select with fixed values (options), a radio and/or a checkbox. I've done some research on it, but all the solutions presented require a table and/or a enum field.

Is there a way to do this differently?

Thanks for any assistance anyone can provide.

xxaxxo

xxaxxo
  • profile picture
  • Member

Posted 29 June 2012 - 04:26 AM

i'm not sure what you have looked for but i'm doing this with callback_add_field and callback_edit_field . Return the checkboxes/radiobutton code you need to be displayed in the callback and you will get it on add/edit page

sergio.lara

sergio.lara
  • profile picture
  • Member

Posted 29 June 2012 - 23:10 PM

Hey xxaxxo! Thanks for your help! It was exactly what I needed it! :)