Using element data from previous submitted form.

Comments

5 comments

  • Avatar
    Berit Weymers

    Hi Steve,

    Thank you for posting, it is a great question. I have a few different ideas for you and I'm sure others can also contribute too. I've included the links to our help desk articles in the titles and would be happy to answer any follow-up questions.

    1) REFERENCE ID 1: Will it be the same user on the same device? We have a Form Reference ID, Reference ID 1,

    • PAGETYPE_NEWFROMLASTRECORD

    which allows you to configure a form to be "New from last record". This can be helpful if it is the same user using the same device. It does require that after records are completed, that they stay on the device after being uploaded.

    2) COPY: Another option is to use the "copy" feature for the record. The same way you can delete individual records by taking your finger holding and sliding to the left on a record, a copy button appears.

    3) SMART TABLE SEARCH or LOOK UP ELEMENT: If you were open to changing the form design a little bit, you could make use of Smart Table Search or the Look-Up Element. You could ask the question with a select element, "Is this the first time at this site?" If they say yes, they would see a form that contains the above questions. If they said no, Smart Table Search or Look-up element would appear and they would select the site name from a list, which would pre-populate with the captured details. 

     

    1
    Comment actions Permalink
  • Avatar
    Steve Ryder

    Berit,

    Thank you very much for the comprehensive reply, I went with the REFERENCE ID 1: PAGETYPE_NEWFROMLASTRECORD. Its perfect, I also married it with REFERENCE ID 4: RECORD_NO_DELETE_ON_UPLOAD to ensure the previous record is saved on the users device which negates having to use the app settings to keep every form record on the device.

    Is it possible to control this at an element level too, I only need it to re-use the data from the first 4 elements. It's not a major issue as they can overwrite elements 5 to 8, but it would be nice if they were already blank.

    Kind regards

     

    Steve

     

    0
    Comment actions Permalink
  • Avatar
    Berit Weymers

    Hi Steve,

    I'm glad you found a solution that worked for you! There is a way to do that with the use of Smart Controls. I've included a screenshot below as well as a form package for you to test. Copy this link and follow the steps in our Customer Success Article on how to import Form Package URL's.
    https://b4276e61b294c623974e-37543054333d78ec4a1a37481f4a7362.ssl.cf2.rackcdn.com/training/407235/ClearValuesExampleForm/field_7475774536205518710498.json

    I added the toggle element in the form and when the user taps the element, it clears values 5-8. You could also do something similar at the start of the form if you wanted to clear all fields. I hope this helps!

    All the best,

    Berit

    0
    Comment actions Permalink
  • Avatar
    Steve Ryder

    Berit,

     

    All done and it works absolutely perfectly - I cannot thank you enough.

    I've never used the toggle function for anything before, and i can already see its benefits for a couple of forms we have in place already that will make using them easier!

    Thank you for your time, its much appreciated.

    Steve

    0
    Comment actions Permalink
  • Avatar
    Berit Weymers

    Hi Steve,

    Happy to help, so glad it all worked for you! 

    Let us know if there is anything else I/we can do to help.

    Berit

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk