Custom form (ideas, discussion)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Custom form (ideas, discussion)
« 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
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

spoogs

  • Posts: 417
Re: Custom form (ideas, discussion)
« Reply #1, 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
Stick a fork in it SMF

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Custom form (ideas, discussion)
« Reply #2, 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?

spoogs

  • Posts: 417
Re: Custom form (ideas, discussion)
« Reply #3, 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

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Custom form (ideas, discussion)
« Reply #4, 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.

spoogs

  • Posts: 417

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Custom form (ideas, discussion)
« Reply #7, 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.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
The way it's meant to be

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Custom form (ideas, discussion)
« Reply #9, 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.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Custom form (ideas, discussion)
« Reply #10, 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.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Custom form (ideas, discussion)
« Reply #11, 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.