question about forms and +JS actions

2012-04-06 Thread Mansur Mamkin
Hi All! I have simple search form (see below) and there is one dropdown box in the form with list of predefined search filters. Is it possible to change values of other fields or even initiate search when occurs 'onchange' event of dropdown box? Should I use additional javascript code to do i

Re: question about forms and +JS actions

2012-04-06 Thread Alexander Burger
Hi Mansur, > I have simple search form (see below) and there is one dropdown box > in the form with list of predefined search filters. Is it possible > to change values of other fields or even initiate search when occurs > 'onchange' event of dropdown box? Should I use additional javascript > code

Re: question about forms and +JS actions

2012-04-06 Thread Alexander Burger
On Fri, Apr 06, 2012 at 12:34:23PM +0200, Alexander Burger wrote: > ... > '((Str) # "Change" function > (set> (: home id) (someId)) # Set two other fields > (set> (: dt) (date)) > (init> (: home query)) # and initiate

Re: question about forms and +JS actions

2012-04-06 Thread Mansur Mamkin
Great! This is exactly what I need, thanks again! Currently I tried to use +Set, but missed +Chg. On 06.04.2012 16:44, Alexander Burger wrote: On Fri, Apr 06, 2012 at 12:34:23PM +0200, Alexander Burger wrote: ... '((Str) # "Change" function (

Re: question about forms and +JS actions

2012-04-06 Thread Alexander Burger
On Fri, Apr 06, 2012 at 05:06:59PM +0600, Mansur Mamkin wrote: > Great! > This is exactly what I need, > thanks again! Currently I tried to use +Set, but missed +Chg. Yes, '+Set' is similar, but it fires each time a field's value is set, i.e. the values from the database, or when other fields or i