[nodebb-plugin-forms] Request for feedback
-
@pitaj said:
what actions would you like the forms to be able to do?
Create a new topic.
Let's imagine someone has a gaming community. After user is registered typically he wants submit an application.
With abilities that we have now in NodeBB, he should create a new topic in a special category by following some rules (let's say copy/paste an example, then fill it with his data). It will be perfect if a user will be able to fill a form instead. -
Yeah, I'm actually building all of these plugins with my clan's needs in mind (I'm using NodeBB for the new website, cuz Enjin sucks)
It's surprising how many gaming forums there are. -
I'd suggest adding captcha-fields required for submitting (optional of cause) even so your idea of responsive forms fulfill this job for static humanity-questions.
And I dislike drag&drop at all please don't spent to much time into this
-
This would be awesome! I have a couple suggestions:
- Anti-Spam Features
- Custom Form Routing (Subject = Sales > [email protected], Subject = Support > [email protected])
You're list pretty much has what I needed for now
-
@Justin What kind of anti-spam features? Captchas and no-captcha are already on the list.
-
Would any plugin developers / front end developers with some free time want to collaborate with me to build this plugin? I'd like to finish this ASAP but right now I'm working on the Calendar plugin.
If anyone would like to work on the front end of this plugin, contact me and we'll work stuff out.
Thanks.
-
Could I get some opinions on this so far? or some people to try it out?
Most everything is drag and drop (I'll be adding a non-drag and drop mode), all of the standard inputs work and are fully editable. Still working on the html5 inputs. Most inputs can be edited in-place or via the modal dialog by clicking the green cog. Whatever you enter/select on the actual input will be the default value, which you can clear by clicking the pink eraser. The white checkbox requires the input, the blue files clone it, and the X deletes.
The live forms are viewable at the url forms/ID or parsed into a post. There's no backend, so if you submit a forum it should just reply with an empty page with the results.
I haven't pushed it to npm, so pull it from github to try it out.
https://github.com/pitaj/nodebb-plugin-forms -
@yariplus looks awesome. Sorry I couldn't help you or with the back end, I've been really busy lately. (School, other projects)
-
Holy carp, that looks pretty awesome. Good job!
-
o_O "Rate this form on a scale of 1-10"
11
I guess this is an intended bugAll in all
Much Wow
-
Action-Proposal:
- redirect user to generated link (e.g. for donation with value-selection)
And I'd abstract the idea of buttons: add buttons just like inputs and assign actions to each of them.
Hence another action
- clear form
-
redirect user to generated link (e.g. for donation with value-selection)
Good idea!
And I'd abstract the idea of buttons: add buttons just like inputs and assign actions to each of them.
I was considering this, but I could not think of any buttons besides clear and submit, so I just add them to the form automatically. Is there any more you can think of?
I will be adding a custom input type too, so either way it will be possible to add your own buttons soon.
-
@yariplus My main reasons for custom buttons would be
- If you don't want a clear-button
- If you want the submit button to have a custom text on it
So these would be easy to manage by individual solutions but a more general solution would be completely customizable buttons.
And just with custom "input type" it wouldn't be easy to assign the actions, would it?
-
@TheAussie It goes in the post body as
(form:ID)
You can only post forms if you are admin and it's the first post in a topic. My test form post is using:(form:best)
Also, the functions I am calling may be 0.7.0 only, I have not tested for 0.6.0 compatibility.
-
When you feel this is ready for production we will put this on our Twitter/Facebook and show it off, very cool plugin.