Wedge

Public area => The Pub => Plugins => Topic started by: Arantor on February 15th, 2013, 05:23 PM

Title: Custom form (ideas, discussion)
Post by: Arantor on February 15th, 2013, 05:23 PM
So I'm in a fractious mood and can't settle on anything. Time for some ideas then.

The notion of needing custom forms is nothing new. Different sites have them for different purposes. Then we have the contact form plugin that already exists, and I figured I could solve both issues at once.

So here's the thought I'm having: a system that allows admins to build forms in their site with the following:

* permissions of who can see the form
* what should happen when the form is submitted (any/all of the following, would be configurable)
  - create a new topic in a given board
  - send emails to people
  - send PMs to people
* allow creating forms out of modular units, i.e. the different things we might want in forms (textboxes, bbcboxes, numbers, select boxes etc etc)
* optional whether the CAPTCHA is required
* optionally adding them to the menu somewhere
* optionally creating an action for them for easy linking[1]

Thoughts? Does it seem like it needs anything else? Of course it would have all the usual Arantoric refinements. :eheh:
 1. And SEO if that floats your boat
Title: Re: Custom form (ideas, discussion)
Post by: spoogs on February 15th, 2013, 05:52 PM
I think you've covered all my bases there.
You know I have to point out that similar will be wanted (needed by me) in WD :P
Title: Re: Custom form (ideas, discussion)
Post by: Arantor on February 15th, 2013, 06:02 PM
Would it not be easier to simply allow 'posting to a helpdesk ticket' as a possible target for the form?
Title: Re: Custom form (ideas, discussion)
Post by: spoogs on February 15th, 2013, 07:00 PM
That's what I meant, fill in a form whose action is to create a ticket in x dept of the helpdesk
Title: Re: Custom form (ideas, discussion)
Post by: Arantor on February 15th, 2013, 07:02 PM
I see that as a very small part of the functionality ;)

The *real* trick will be tying things to helpdesk custom fields. But I'll see what I can do when I get there. This is still very much an 'idea' right now.
Title: Re: Custom form (ideas, discussion)
Post by: spoogs on February 15th, 2013, 07:03 PM
I see,

Definitely looking to see how it pans out and comes together in the end.
Title: Re: Custom form (ideas, discussion)
Post by: Nao on February 15th, 2013, 07:26 PM
Is this feature really something we're missing..?
Title: Re: Custom form (ideas, discussion)
Post by: Arantor on February 15th, 2013, 07:29 PM
That's why it's in the plugins area ;)

Yes, it is something that is needed. But it certainly isn't needed in the core from my perspective.
Title: Re: Custom form (ideas, discussion)
Post by: Dragooon on February 16th, 2013, 06:22 AM
Allow plugins to add new types of fields?
Title: Re: Custom form (ideas, discussion)
Post by: Arantor on February 16th, 2013, 03:07 PM
What kind of field could you add, exactly?

Conceptually I can see it happening, I'm just not entirely sure what you would want to add.
Title: Re: Custom form (ideas, discussion)
Post by: Dragooon on February 16th, 2013, 08:49 PM
Why not? There can be numerous social fields, gaming forums can have integration with their respective games (I remember coding for an eve online form that did something similar), plus it should be an easy enough thing to provide, people are pretty good with coming up with things.
Title: Re: Custom form (ideas, discussion)
Post by: Arantor on February 16th, 2013, 08:52 PM
I see no reason why you'd need a plugin to create those, though. If the out-of-the-box setup is flexible enough you could create all of those anyway (a la profile fields)

But yeah, I'd create plugin facilities anyway.