-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first. - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDd6NBgegMqdGlkasRAonsAKCMx2aKMGIFz3aLUjYmsGKU9pkkxQCeJhq6 33puTCN1d8jwO8/o508IsD4= =L92Z -----END PGP SIGNATURE-----
No need for AJAX. This can be done in Javascript without having to access the webserver. On 11/13/05, Adrian Rossouw <adrian@bryght.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
- -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFDd6NBgegMqdGlkasRAonsAKCMx2aKMGIFz3aLUjYmsGKU9pkkxQCeJhq6 33puTCN1d8jwO8/o508IsD4= =L92Z -----END PGP SIGNATURE-----
-- Best regards, Herman Webley
The need for AJAX depends on whether the form processor code checks for the number of items requested via the form and given via the submit. Goba Herman Webley wrote:
No need for AJAX. This can be done in Javascript without having to access the webserver.
On 11/13/05, Adrian Rossouw <adrian@bryght.com> wrote:
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
-- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com
-- Best regards, Herman Webley
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13 Nov 2005, at 10:56 PM, Herman Webley wrote:
No need for AJAX. This can be done in Javascript without having to access the webserver.
i call all javascript ajax these days, because it has more buzz, and there are fewer characters. or something =) - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDd6r/gegMqdGlkasRAmovAKDKY0kGl6FFhMKomNrSgORDEduB6gCgifsW jKju2dPD6uzVMjdTDZOtyLc= =2iDk -----END PGP SIGNATURE-----
On 13/11/05, Adrian Rossouw <adrian@bryght.com> wrote:
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
Looks like a challenge to keep me awake tomorrow :) If someone could create an issue for this then I'll play with making a patch after some decent sleep. -- David Carrington
On Mon, 14 Nov 2005 00:41:24 +0100, David Carrington <david.carrington@gmail.com> wrote:
On 13/11/05, Adrian Rossouw <adrian@bryght.com> wrote:
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
Looks like a challenge to keep me awake tomorrow :)
If someone could create an issue for this then I'll play with making a patch after some decent sleep.
Sleep tight and use http://drupal.org/node/37489 tomorrow.
Hi all, I've added a patch for the 4.6 version. I coded it before I saw David's volunteer. http://drupal.org/node/37489 Adrian: you have the developers of drupal at your beck and call :D On 11/13/05, Karoly Negyesi <karoly@negyesi.net> wrote:
On Mon, 14 Nov 2005 00:41:24 +0100, David Carrington <david.carrington@gmail.com> wrote:
On 13/11/05, Adrian Rossouw <adrian@bryght.com> wrote:
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
Looks like a challenge to keep me awake tomorrow :)
If someone could create an issue for this then I'll play with making a patch after some decent sleep.
Sleep tight and use http://drupal.org/node/37489 tomorrow.
-- Best regards, Herman Webley
why not make this general, something like $form['type'] => 'replicate' A form item that can be added to any form to replicate a wrapped part of a form Foo times. title [ ] description [ | | ] ----- wrapped in a div, "fileStuff" -- file [ ] [browse] [X] fooBar [ ] anohterBar [Gimme 5 file fields] ------end wrap "fileStuff" --------------- the [Gimme 5 file fields] would then be a link that would: * fire some JS to replicate the wrapped part 4 times (so we have 5 fields) * in case of no JS it would link to example.com/the/page/ with a GET that will fire some PHP to replicate the part 5 times. This is what I was working on for the files stuff, well, the GET part, I left out the ajaxy stuff. Ber On Sun, 13 Nov 2005 23:41:24 +0000 David Carrington <david.carrington@gmail.com> wrote:
On 13/11/05, Adrian Rossouw <adrian@bryght.com> wrote:
I would love to see a simple ajax thingamajig on the poll form that adds the 'more poll choices' dynamically without having to reload first.
Looks like a challenge to keep me awake tomorrow :)
If someone could create an issue for this then I'll play with making a patch after some decent sleep.
-- David Carrington
-- Bèr Kessels Drupal services bler.webschuur.com www.webschuur.com ber@jabber.webschuur.com
On 14/11/05, Ber Kessels <ber@webschuur.com> wrote:
why not make this general, something like $form['type'] => 'replicate' A form item that can be added to any form to replicate a wrapped part of a form Foo times. [snip] This is what I was working on for the files stuff, well, the GET part, I left out the ajaxy stuff.
What's the status of this? I'd much prefer to write ajax for a generic solution than a solution for poll.module. -- David Carrington
On Mon, 14 Nov 2005 13:04:32 +0100, David Carrington <david.carrington@gmail.com> wrote:
On 14/11/05, Ber Kessels <ber@webschuur.com> wrote:
why not make this general, something like $form['type'] => 'replicate' A form item that can be added to any form to replicate a wrapped part of a form Foo times. [snip] This is what I was working on for the files stuff, well, the GET part, I left out the ajaxy stuff.
What's the status of this? I'd much prefer to write ajax for a generic solution than a solution for poll.module.
Do you think we will turn down such an excellent idea :) ? So many uses it has... Regards NK
On Mon, 14 Nov 2005 12:04:32 +0000 David Carrington <david.carrington@gmail.com> wrote:
This is what I was working on for the files stuff, well, the GET part, I left out the ajaxy stuff.
What's the status of this? I'd much prefer to write ajax for a generic solution than a solution for poll.module.
Vapourware. Or better: snippetware. I'm still getting all the ideas organised, most of wich live in (pseudo code) all over the place. .... and off course i try to get others to write code i can use here too, harhar...... So: no, I cannot give you any code yet, but i will dedicate some time, to code this, now this gets rolling (which it does now). Ill keep an eye on the issue. Let us continue discussions there? Ber -- Bèr Kessels Drupal services bler.webschuur.com www.webschuur.com ber@jabber.webschuur.com
participants (6)
-
Adrian Rossouw -
Ber Kessels -
David Carrington -
Gabor Hojtsy -
Herman Webley -
Karoly Negyesi