[Rails] Re: dynamic drop down list submission problem

2008-12-23 Thread pepe
Hi Pra, Sorry it took so long. Here is a full example: This is my view (file name is 'index.rhtml'): <%= javascript_include_tag :defaults %> Select one: <%= select_tag 'my_select', 'onetwothree' %> <%= render :partial => 'input_field' %> <%= observe_field 'my_select', :frequency => 0.

[Rails] Re: dynamic drop down list submission problem

2008-12-22 Thread pepe
Hi Pra, Sorry, I have been (still am) busy. I'll try to give you an example ASAP but it might take me a little while. Hopefully soon. Pepe On Dec 20, 2:23 pm, Pra Ng wrote: > Pra Ng wrote: > > pepe wrote: > >> I believe you are missing an input field for your updated value. The > >> submit wil

[Rails] Re: dynamic drop down list submission problem

2008-12-20 Thread Pra Ng
Pra Ng wrote: > pepe wrote: >> I believe you are missing an input field for your updated value. The >> submit will pass along the values of the input fields. Something you >> just 'write' inside a tag will not be considered 'input' data. >> You could try to replace the with something like < >> %

[Rails] Re: dynamic drop down list submission problem

2008-12-20 Thread Pra Ng
pepe wrote: > I believe you are missing an input field for your updated value. The > submit will pass along the values of the input fields. Something you > just 'write' inside a tag will not be considered 'input' data. > You could try to replace the with something like < > %= :chapter.field_text

[Rails] Re: dynamic drop down list submission problem

2008-12-18 Thread pepe
I believe you are missing an input field for your updated value. The submit will pass along the values of the input fields. Something you just 'write' inside a tag will not be considered 'input' data. You could try to replace the with something like < %= :chapter.field_text :container... %> Pep