This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

ivan_g
ivan_g

Why a sub form of type "nestedform" can't be managed with Builder?

I need to group some fields and the only way I found it's to put them into a repeater, but I don't like that the user must click on "add item" to go on...

mjauvin
mjauvin

This feature was not implemented.

Builder helps to create a plugin and setup the original layout, but if you need more complex forms, you can always add this to your fields.yaml file manually.

see https://octobercms.com/docs/backend/forms#form-fields

ivan_g
ivan_g

ok I understand, thanks for the answer... The problem is that in this way I can't let an editor to work with Builder on backend because some customization won't available there.

But there is also another bigger problem... if I build more complex form editing the fields.yalm, I can't use anymore Builder, else I'll loose my customization as I written in the other post

Last updated

mjauvin
mjauvin

Right, as I said, Builder was created to easily kick-start Plugin development, but after the initial stage, it is much better to code it by hand.

JeffGoldblum
JeffGoldblum

It should be possible to add support for the nestedform type to the builder plugin, consider making a PR or at the very least an issue at https://github.com/rainlab/builder-plugin.

keshav.kr.mishra54907
keshav.kr.mishra54907

I have a model called Giveaway have many to many relationship with User, now i want to use repeater widget in builder plugin to create two fields in repeater called user and price, so for every giveaway there will be user (will display users from User model) and price associated. Any help will be appreciated.

JenniferLopez
JenniferLopez

@keshav.kr.mishra54907 Please start your own forum topic with your query. This allows us (and other users who might be interested in the fix) to easily track different queries.

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.