Dylan Egan wrote:> I am using some basic AJAX in a form to present extra fields when an
> option is selected. This is working well, except if the form is invalid
> it will come back and have the option selected, but because it''s
> observing the field for changes it doesn''t present the other
options.
>
> Is there an option for observing fields on the page creation to see if
> they are selected?
If the option has been selected, have the posted-to action render into
the page the same extra fields partial as the one sent by AJAX.
--
We develop, watch us RoR, in numbers too big to ignore.