[rm-users] Custom SmartForm with multi-select
Don Kidd
Kidddw@muohio.edu
Thu, 08 Nov 2001 08:29:34 -0500
Tejas,
We too have done the same thing, with a lot of JS and hidden parms.
But I have 1 more feature that I believe our users would like to have
implemented. Can anyone change the values in param 2 based upon what is
selected in param 1?
Don
At 02:30 PM 11/7/2001 -0800, you wrote:
>Thanks for your response.
>
>That's what I figured... a lot of JS and hidden params. Do you think I could
>get a code sample? This is for an SQR job published in the Portal.
>
>Thanks,
>Tejas
>
>-----Original Message-----
>From: Eric Dimick Eastman [mailto:erice@ontko.com]
>Sent: Wednesday, November 07, 2001 2:18 PM
>To: rm-users@sqrug.com
>Subject: Re: [rm-users] Custom SmartForm with multi-select
>
>
>Tejas,
>
>Good news and bad news. We are currently doing a lot of this and it is
>doable. However, it means using JavaScript and custom HTML forms.
> Someone who is a JS wizard could make it work on all browsers, but our
>solution was specific to IE 5.5. Our basic approach was to have a
>hidden field that is the actual Portal parameter and the multi-select
>widget with JS attached that keeps the hidden field up-to-date. The job
>receives one parameter whose value is the comma separated list of the
>items selected.
>
>This works well as long as the lists are fairly short (<100 items). For
>longer lists there was an even more involved solution.
>
>What kind of job is this for? SQR?
>
>Hope this helps,
>Eric
>
>Tejas Saraiya wrote:
>
> >Has anyone created a custom input form using a multi-select listbox? For
> >example, I have a list of IDs that I want the user to be able to choose one
> >or more from and then I want to construct a WHERE clause like WHERE id in
> >(<first selection>, <second selection>). Any ideas?
> >
> >Thanks,
> >Tejas
> >
> >
> >_______________________________________________
> >rm-users maillist - rm-users@sqrug.com
> >http://www.sqrug.com/mailman/listinfo/rm-users
> >
> >
>
>
>
>_______________________________________________
>rm-users maillist - rm-users@sqrug.com
>http://www.sqrug.com/mailman/listinfo/rm-users
>
>
>_______________________________________________
>rm-users maillist - rm-users@sqrug.com
>http://www.sqrug.com/mailman/listinfo/rm-users
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don Kidd
MCIS - University Applications
312 Hoyt
Miami University
Oxford, Ohio 45056
513-529-9655
Kidddw@muohio.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~