Sweet.  Thanks, Volker.  I'll look into this.

On Feb 4, 1:34 am, vhochstein <[email protected]> wrote:
> Hi Mike,
>
> That s not something which is configurable, but I think it can be
> done.
>
> Let s take a look at server and client side:
> 1. ServerSide
> recordselect will try to find record attributes in params  to build
> conditions for db query
> please see def record_select_conditions_from_params
>
> 2. ClientSide
> The big question is how to add that specific param to record selects
> browse request.
> I would say you ve got two options
>
> 1. ajax:before event handler
> eg. $('<your specific record select form
> selector>').live('ajax:before', function(event) {
> event.data_url can be built in code to include your new param
>
> 2. dynamically add a new/or change existing form attribute to your
> record select form if "another" field changes in your form
>
> --
> Volker
>
> On Feb 3, 8:58 pm, mikelb <[email protected]> wrote:
>
> > Hey, i know this is the active scaffold group...  but I'm using
> > RecordSelect with ActiveScaffold, and I need to pass back a parameter
> > based on the value of *another* field on the form.
>
> > Does anyone know how this can be done?
>
> > Many thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to