I want to create parent and child form ... Any idea how to link the two form ?
Or Any help to that .
Thank you
Ayman
Look at repeater fields. If that's not the answer to your question, provide more detail.
No , I need to link two form using for example ID field as primary in the Parent form and as secondry in the child form.
customer form ..... Address form ..... the customer can have more than one Address ?
Thanks
Ayman
I'm still going to say there's not enough information for me to give you a complete answer so I'll just throw out some thoughts.
Let me explain more by giving you another Example ... if you have two table in Database customer and Address .
I need to link both table , So one customer can have more than one Address .
Like linking two table in relation database using a key field in both table .
I don't want embedded form .
Also using repeater , will not solve the problem .
Thank you
Ayman
Then my suggestion #1 is what you want. When you create a child entry, use a hook such as frm_setup_new_fields_vars to put the ID of the parent entry into the child's entry. You can also use other hooks, frm_pre_create_entry or frm_after_create_entry. You'll want to note that Formidable entries are not stored relationally, so you have to "fake it".
Please login or Register to submit your answer