I have a selection field where, when changing, I need to capture the value, and through a remote function, get some field names from db, and then generate this field further in a form showing what is selected from the selection window.
The problem is that the fields are in f.form_for, so they use formbuilder f, which has a select box. Therefore, when I process partial through ajax in the controller, I get an error because I do not have a link to the local form builder.
Does anyone know how or if I can get a link to the form builder, orif can pass it in a remote function call, and then pass my locales in partial?
Thanks a lot, any help would be great as it stuck on this for a long time!
amuses Rick
source
share