I am creating a form that has a Collection containing a couple textboxes for user input. The user may submit the same request monthly or even weekly. I read this article: https://www.laserfiche.com/ecmblog/tech-tip-using-url-parameters-to-pre-fill-form-fields/ but was wondering how would I do this same procedure to pre-populate fields in a collection and possibly multiple rows as well?
Question
Question
Answer
SELECTED ANSWER
replied on April 19, 2018
I don't think you can do this with collections/multiple rows. From what I've seen, you would only have two options, but both would require a more complicated setup.
- Store the values in a database
- Set the database up as a lookup source
- Use a unique identifier in your URL to populate a hidden field and grab the data when the form loads
OR
- Put the data in as a delimited string (i.e., 1|2|3|)
- Pre-populate a hidden field
- Use JavaScript to break the data up and populate your collections/rows
URL parameters don't really have support for collections in general, and there's a limit to how much you can put in a URL string so depending on how much data you're bringing in a database may be the only viable solution.
0
0
replied on April 19, 2018
•
Show version history
Yea that's what I thought. Was just verifying.
Update:
I went with the first option and it worked for me.
0
0
Replies
You are not allowed to reply in this post.
You are not allowed to follow up in this post.