Re: [wdvltalk] [Bulk] Creating a list of entries to submit in a form
Thanks for the comments Tim. With a fresh pair of eyes this morning I quickly looked up the Javascript methods for boxes and had a play with selecting all list items through code before submitting the form. Functionally it works fine for my purposes (and budget) so I'm happy with this for now, but I'm planning on playing with a more elegant and pretty solution once this job's out of the way. Thanks to all! MOU 2008/8/15 Furry, Tim <[EMAIL PROTECTED]>: > > MOU wrote: > Saving the qualification will display POST data. As you can see, there's > no entry for "man" or "opt" as no items in the lists were clicked. As I > said in the initial message I realise now that this is how a is > supposed to work, but I've been a dope and gone down this route trying > to get it to do something entirely different. > > Tim sez: > Looks like you have it working already, Ross...posting seems to be grabbing > the box data okay. I didn't look much under the covers but suspect you're > using JS to copy the man and opt ids over to the hidden field before posting. > I've done that many times on projects, particularly to get ordered list ids > back to the server, and I even do it now for some things just to put the data > in a form that's easier to write SQL queries against after it travels back to > the server. > > Why is it that other people's work always looks better than mine? LOL I > just don't have any sense of cool graphical whizbang... > > Tim > > • The WDVL Discussion List from WDVL.COM • > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or > use the web interface http://e-newsletters.internet.com/discussionlists.html/ > Send Your Posts To: wdvltalk@lists.wdvl.com > To change subscription settings, add a password or view the web interface: > http://intm-dl.sparklist.com/read/?forum=wdvltalk > > http://www.wdvl.com ___ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > � The WDVL Discussion List from WDVL.COM � To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
Re:[wdvltalk] [Bulk] Creating a list of entries to submit in a form
MOU wrote: Saving the qualification will display POST data. As you can see, there's no entry for "man" or "opt" as no items in the lists were clicked. As I said in the initial message I realise now that this is how a is supposed to work, but I've been a dope and gone down this route trying to get it to do something entirely different. Tim sez: Looks like you have it working already, Ross...posting seems to be grabbing the box data okay. I didn't look much under the covers but suspect you're using JS to copy the man and opt ids over to the hidden field before posting. I've done that many times on projects, particularly to get ordered list ids back to the server, and I even do it now for some things just to put the data in a form that's easier to write SQL queries against after it travels back to the server. Why is it that other people's work always looks better than mine? LOL I just don't have any sense of cool graphical whizbang... Tim The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
Re: [wdvltalk] Creating a list of entries to submit in a form
Thanks Dave I do like the radio button idea. I'll run both approaches past the client to see what they'd find more intuitive. If we end up sticking with the 3 list approach, can you make selections via Javascript? MOU 2008/8/15 David Precious <[EMAIL PROTECTED]>: > On 08/15/2008 09:42 AM, David Precious wrote: >> Could you perhaps re-think it in a simpler way, and just have a set of >> checkboxes to select the units which should be mandatory for the course >> in question? That would remove the requirement for Javascript and >> unfamiliar UI tools immediately. (Facilities to move list items from >> one section to another are reasonably common, and most users shouldn't >> stumble on them for long, but checkboxes are a hell of a lot more >> common, and most users just instinctively know what to do). > > Re-reading your message, I see you need each unit to be either not part > of the course being edited, mandatory, or optional. > > You could use radio buttons, and list the units like: > > http://www.preshweb.co.uk/misc/rossdemo.html > > > That way, all units are listed, there's no need for Javascript to be > enabled, and it's clear and simple how to operate it. It should also be > easy to act on the data when it's submitted to the backend :) > > Would that work for you? > > > Cheers > > Dave P > > • The WDVL Discussion List from WDVL.COM • > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or > use the web interface http://e-newsletters.internet.com/discussionlists.html/ > Send Your Posts To: wdvltalk@lists.wdvl.com > To change subscription settings, add a password or view the web interface: > http://intm-dl.sparklist.com/read/?forum=wdvltalk > > http://www.wdvl.com ___ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > � The WDVL Discussion List from WDVL.COM � To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
Re: [wdvltalk] Creating a list of entries to submit in a form
On 08/15/2008 09:42 AM, David Precious wrote: > Could you perhaps re-think it in a simpler way, and just have a set of > checkboxes to select the units which should be mandatory for the course > in question? That would remove the requirement for Javascript and > unfamiliar UI tools immediately. (Facilities to move list items from > one section to another are reasonably common, and most users shouldn't > stumble on them for long, but checkboxes are a hell of a lot more > common, and most users just instinctively know what to do). Re-reading your message, I see you need each unit to be either not part of the course being edited, mandatory, or optional. You could use radio buttons, and list the units like: http://www.preshweb.co.uk/misc/rossdemo.html That way, all units are listed, there's no need for Javascript to be enabled, and it's clear and simple how to operate it. It should also be easy to act on the data when it's submitted to the backend :) Would that work for you? Cheers Dave P The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
Re: [wdvltalk] Creating a list of entries to submit in a form
On 08/14/2008 08:48 PM, Ross Clutterbuck wrote: > Not a problem in theory, but I've hit a problem with building the HTML > interface that's hurting my very fragile brain. > > What I've done so far is used 3 objects set as lists with some > buttons and a smattering of Javascript to move these list items around - > selecting an item in the course units list and clicking the add buttons > successfully adds that item to the mandatory or optional units lists as > appropriate and removes it from available units. The process is > reversible too. > > Then I try to submit the thing. Even though the lists have options in > them, unless I actually select any of the options contained no data for > that list is submitted - obvious looking back on it as that's how these > form controls work. > > Am I barking up the wrong tree using boxes for this? Can I use > Javascript to internally select every item in the list as soon as I > submit the form? Is there a better way of doing it? I'd say there's going to need to be some Javascript involved. As you're presumably going to be relying on Javascript already to move items around the interface, using a bit more probably isn't a problem :) Could you perhaps re-think it in a simpler way, and just have a set of checkboxes to select the units which should be mandatory for the course in question? That would remove the requirement for Javascript and unfamiliar UI tools immediately. (Facilities to move list items from one section to another are reasonably common, and most users shouldn't stumble on them for long, but checkboxes are a hell of a lot more common, and most users just instinctively know what to do). Cheers Dave P The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.