Can I prevent a value from being submitted multiple times in a repeat question?

4075
32
Jump to solution
06-14-2019 11:30 AM
LaurenMcGarvey
New Contributor II

I have a repeat question in my survey as shown below.  

The repeat question is to document the plant species and cover class in a quadrat.  There are over 200 values for plant species and many species may be found in a quadrat.  Is there a way to prevent a plant species from accidentally submitted multiple times in the repeat question?

0 Kudos
32 Replies
DougBrowning
MVP Frequent Contributor
S_-_EvanRaskin__GISS_
New Contributor III

The JavaScript function worked great for me once I figured out that I needed to create an "extensions" directory in my survey to house repeats.js. This solved a lingering question that I had from two years ago.

0 Kudos
EvanR
by
New Contributor II

That is, it worked great in the Survey123 Connect preview. As soon as I got it into the field app I started getting "scripts disabled" messages.

Edit: just realized that I am responding from a different account, sorry for the confusion.