Re: dulpicate existing entries of a form

Home Forum General dulpicate existing entries of a form Re: dulpicate existing entries of a form


You can create a child instance of the instance. Simply use a show form button or behavior that is visible only to certain roles. You will have to create a custom parameter for every field input on the form. You will also have to create a mechanism in the form to determine if it is a child or simply a new instance. This is how I did it: When the form opens set your fields with the custom parameters. Then use a simple branch to ask if a field that would definitely be populated is not empty. If it is a new instance, it will be empty because there will have been no custom parameters coming from a parent. If the field is not empty, then close the instance (or do whatever you need to do with it)

Here is a link to the page in our documentation about the parent child forms: /Documentation/manual/html/?parent_child_forms.htm