Form Designer - New Field Option

gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
Hey Guys

I posted this way back before but it would also be great if we could a field type that would allow the front end user to add additional input fields, ie like this
7/6/2015 2:35:44 PM

Thoughts on all this?
updated by @garymoncrieff: 10/19/17 07:34:33PM
paul
@paul
7 years ago
4,331 posts
Interesting idea, though I think it that instead of a Form Designer field, it would need to be a module in its own right. Have you checked out the new Product module? That has an item category option where additional fields can be added. Maybe it could be an adaptation of that?


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
I didn't know the new product module was available, will check it out now and get back to you.
paul
@paul
7 years ago
4,331 posts
gary.moncrieff:
I didn't know the new product module was available, will check it out now and get back to you.

Its in the beta channel.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
Not showing for me in JAMROOM61BETA, must be in a private channel for you.
paul
@paul
7 years ago
4,331 posts
Apologies - It hasn't been released yet. It still needs a few tweaks.
But basically, before creating a new product, users can create 'product categories' eg. Tee Shirts, Albums etc. then for each category they can then add optional fields - Size and Colour for Tee Shirts say, and Format (CD, Vinyl) for Albums.
This is why I'm thinking that what you suggest could be an adaptation of this module.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
I know what your saying as it was one of the features I requested for the products module, but just thinking having this field type in the form designer, would open up aparna to create more advanced vertical modules, ie a recipe module, a listing module etc easier.
paul
@paul
7 years ago
4,331 posts
Have just watched that video again and am beginning to see what you mean.
So a new Form Designer field type that when selected shows a text field and an 'add' button. On the datastore, the field would be saved as 'prefix'_'fieldname' as normal and its value would be a json array of the original and all added field values, and passed to templates as an array for easy manipulation and display.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
Yep that's it :)

Tags