Sorry I did not realize that your goal is to have a few checkboxes not multi-select, but the methods mentioned are all valid.
On Thu, Nov 20, 2008 at 7:55 AM, Henry Lu, Sun Certified Java Programmer < [EMAIL PROTECTED]> wrote: > Simon-- > > There are three ways to get by, > > 1)Leverage the RedDot Categories/Keywords built-in feature. Multiple > Keywords can be assigned to a page instance. Though one at a time it is > still an easy implementation for you the developer and the editors. > 2)Build each category of your category list as an option list. Use the > category value as the option list name and populate it as "yes" or "no". > Place them in a group and designate the first option list as parent and all > others as child elements. > 3)Use simple html <select> and specify "multi" and when the button is > clicked, concatenate all the selected options and insert it into a standard > text field. > > The 3rd option involves an RQL "write" which has to happen outside the page > instance. So they script has to live somewhere else and be called > asynchronously. When the write is done, you force a re-load of the page and > the selected value will be shown. > > The trouble with the 3rd is that it is laborious for the developer. Every > time the page loads, you also need to parse the standard text field value, > parse them apart and populate them accordingly in the multi-select so that > the user knows what has been selected. > > Henry Lu > > > On Thu, Nov 20, 2008 at 7:36 AM, Simon Lewis, UK < > [EMAIL PROTECTED]> wrote: > >> >> Hi all, >> >> I have a template where I need users to be able to say "This page >> falls into the following categories:" and then select any number of >> those categories. I'm aware there's no built-in way of doing that, >> but have never had to find a workaround until now. >> >> I thought of creating a simple HTML/JavaScript popup with a set of >> checkboxes, and getting that to output a comma-separated value for >> putting in a placeholder. That would be ideal, except it needs RQL or >> something to then write that value back to the page. >> >> Are there any bright ideas out there for getting me over this hurdle? >> >> Thanks very much! >> >> Simon Lewis. >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to RedDot-CMS-Users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---