Best Practices

 View Only

Ian's Insights Ep. 4 - Push to repeat

  • 1.  Ian's Insights Ep. 4 - Push to repeat

    Posted 01-13-2022 10:00

    In this post, I am going to be using a form that is available in our Form Library to chat about a useful tool to save the person filling in the form some time. I am going to be using a Building Inspection form to demonstrate this but you can use the same technique with data coming from any source (like Salesforce)  

    To make pushing to a repeat section work properly, you need to ensure that the data source is set up correctly. The way that this works is that ProntoForms goes and looks through the column in the data source that is defined in the question, finds all the values which are identical and writes them into a repeat row for each unique value. This is much easier to demonstrate than it is to write out...  
    As mentioned earlier, this is coming from the Building Inspection form that is found in the Form Library. This is a perfect example of how you would set up a data source for a push to repeat.  

    The Building column is the source of our dropdown question in the form (ensure that you have “Hide duplicate options” checked off because we will certainly have duplicates in this column.

    Configuration to push data to other questions:  

    This is a
    snippet of the actual data source that is being used:

    Based on the images above, when a user answers the Building question in the form as “Building C” then we will push the values from the Floor column (as defined in the dropdown question), putting “Floor 1” into the first row, “Floor 2” into the second, and so on, until we have pushed all the instances of Building C from the data source into the repeat section.  

    IN THE APP: 

    After selecting the Building:

    Using that same technique, you could pull in all the cases that a current account has opened, or all the open Work Orders that a technician has worked on that day. There are many uses for pushing data into repeat sections!  

    Do you currently make use of the Push to Repeat functionality in any of your forms? If so, share your ideas!  

    Ian Chamberlain
    Implementation Specialist

Reminder: Content posted to our Community is public content.  Please be careful not to post Intellectual Property that you do not have permission sharing.  For more information please refer to our Terms Of Use