I am using Smart Multi-Row field in a form to allow the user to dynamically create a number of entries based on another form.
Is there a way to reference these Smart Multi-Row entries to e.g. Include them in an IFTTT email in a structured manner?
Just put the ConfiForms Field macro with a field name set to your smart multi-row field name and you will get them rendered
Alternatively you can have a custom view using any view (over the form this smart multi-row is linked to) and the filter to set would be something like
id:[entry.mymultirowfield.transform(id).join( OR id:)]
where "mymultirowfield" is the name of you smart multi-row field
I have got a very similar problem. Your solution works really well... but when I then want to add another line/entry that entry doesn't have the reference to the parent (and the parent doesn't have a reference to the child). How could I do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By "parent", which record do you mean? The link is one-way, unless you start doing something like https://wiki.vertuna.com/spaces/CONFIFORMS/pages/9864128/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-Synchronizesmartfieldreferences
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats exactly what I do. But even the one way Link/reference isn't there. With parent I meant the form with the smart multi row field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but what is "not there"?
I dont quite understand. Are you saying the smart multi-row field does not work and does not store a reference to the record you have created (after form is submitted)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK... I will explain in more detail.
We have got a form A with a smart multirow field referencing to form B.
That Form B has got a smart dropdown referencing to form A (using the synchronizing smart field references).
Then I show form A in a list view (without showing the multirow-field) with a another list view for from B inside that view for form A. That embadded list view for from B ist filtered by: referencefield:[entry.id.asEntryRef(entry.id)] (I am using it in a template generated page)
That works fine as to show the desired fields in that form B that have been "linked" to from A beforehand (by that smart multirow field).
Why that way? because I wanted to use action buttons in that form B which didn't work directly in that list view for form A with that smart muktirow field included.
Now my current problem: Let's say I have an entry in from A with two "linked" entries in from B. I would like to be able to add another line/entry to that form B also linked to that same entry in form A.
Hence I have enabled 'Add new record' inline button in that embadded list view for form B. I can also add a line... but after a refresh this new line is not "linked" to that entry of form A (that's where my reference is missing on both sides = in that smart multirow field of form A and in that smart dropdown of form B).
Hope that is clearer now?!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the same with the filter suggested in this thread: id:[entry.multirowfireld.transform(id).join( OR id:)].
Same effect.
I think I will have to set the value of that smartdropdown field. But not quite sure how.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you "add inline", as I understand you do it into the form B (the one without a smart multi row field), right? Then it is just added as an isolated row into the form, it doe snot know anything about the smart multi row that is set up elsewhere. As I understand you want to update the smart multi-row field with the record you have created "using add inline"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct. Any other way to add another line in that setup would be fine, too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Honestly, this is quite a different question and the problem. Related, but...
Anyway, this could be approached like in the demo I have created for you
Hope it helps
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are a genius! With that help I was able to get it working! Thanks very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.