Hello! Im tring to think of a way to make my boltforms add repeater type field values, or create contenttype with relation to another. Need this for record comments/reviews. I can't find anything about repeaters in boltform docs, the only way i see is to use database table parameter set to "bolt_field_value" but this will allow me to insert only one row, which is ok for a one field repeater, but not in my case. Also there is nothing about setting a relation for the contenttype that i can create with the form. Am i missing something?
You're not missing anything … they are both new, and very hard to do.
When the logic improves more in core, BF might be able to easily leverage it, but right at the moment, while it is very "doable", it is a bit more work than I have free time to do
gawain Ok, thank's a lot for your time! Would be awesome to see those things implemented someday
@gawain Looking for same thing, want to create a relation to other content when a form has been submitted and saved to db. Would you say its possible to do it with a custom event that is triggered after submission? Is it possible to access the saved form submission content object in an extension and add some custom code? Any sample how this could be done in an extension? Thanks
Should be in dev-master of BoltForms.
Only caveat/warning is that there are a couple of small BC changes compared to BoltForms 3.x (it will be tagged as v4.0 soon-ish) and while quite stable (and lots fixed), we may need to tweak the API further … I don't want to at this stage of it's development, but I haven't given it a thorough pass yet so don't want to make promises I might not be able to keep.
Is this feature implemented i someway in latest version of extension?
My need is when a comment is posted I like to save the relation to the contenttype the comment relates to. Its a relation field on the target contenttype.
If its not implemented, would be helpful to see a sample to create a custom event to handle this
Im using boltforms 4.2.3