degarrin
Member
Here is what I want to do...
I have two forms - Form A and Form B. Form A is always filled out before Form B. Form B is a text-heavy form, but it also has fields that are a combination of text and information that is pre-populated from Form A; I need to insert information in the middle of existing text. Here is a sampling of text from one such field in Form B:
"{fab_affirmations___partner_names} and {fab_affirmations___client_id}, I remind you that a sacred union is a precious gift, a commitment, and a challenge to love one another more completely each and every new day. Please join hands and look into each other's eyes and recite your vows."
Right now, the text-heavy fields (such as the sample above) are just display fields because there is nothing to edit. But I cannot think of a way to get this to work or if this is even possible. I know that outputting the text-heavy fields as an email/PDF/Joomla article directly from Form A works because I've tried, but that is not what my church wants, they need it as a separate form with additional information.
I tried autofill, where I put the fields on Form A (as hidden) and then duplicated them on Form B, but that did not pull over the placeholder data. I suspect because you can't use placeholders from one table when autofilling data into another table? I know placeholders only work with their own table, but I was hoping autofill might get around that - guessing not...
Then I thought that there may be some way to do this with eval'd code on each element, calling to the other table, but when I played around a bit it just puts the text below my display text. I'm not very experienced with the PHP code calling from one table to another though, so I may have gotten something wrong.
Does anyone have some suggestions? Any thoughts are appreciated, as I'm kind of at the hair pulling stage on this one.
Thank You
Angela
I have two forms - Form A and Form B. Form A is always filled out before Form B. Form B is a text-heavy form, but it also has fields that are a combination of text and information that is pre-populated from Form A; I need to insert information in the middle of existing text. Here is a sampling of text from one such field in Form B:
"{fab_affirmations___partner_names} and {fab_affirmations___client_id}, I remind you that a sacred union is a precious gift, a commitment, and a challenge to love one another more completely each and every new day. Please join hands and look into each other's eyes and recite your vows."
Right now, the text-heavy fields (such as the sample above) are just display fields because there is nothing to edit. But I cannot think of a way to get this to work or if this is even possible. I know that outputting the text-heavy fields as an email/PDF/Joomla article directly from Form A works because I've tried, but that is not what my church wants, they need it as a separate form with additional information.
I tried autofill, where I put the fields on Form A (as hidden) and then duplicated them on Form B, but that did not pull over the placeholder data. I suspect because you can't use placeholders from one table when autofilling data into another table? I know placeholders only work with their own table, but I was hoping autofill might get around that - guessing not...
Then I thought that there may be some way to do this with eval'd code on each element, calling to the other table, but when I played around a bit it just puts the text below my display text. I'm not very experienced with the PHP code calling from one table to another though, so I may have gotten something wrong.
Does anyone have some suggestions? Any thoughts are appreciated, as I'm kind of at the hair pulling stage on this one.
Thank You
Angela