Hello,
I have a question related to creating a Survey form that I can't figure out.
I have created a web form with a repeat in it. In this repeat it is possible to add a file and answer a question what kind of file this is e.g. a log file or a survey drawing(so not to be confused with the extension).
The file name is also recorded in a field called DocumentName. So far, this works. Now the form automatically returns to the completed variant after 2 seconds as feedback for the end user.
Two problems then arise that we don't want because of data proliferation.
1. it is again possible to add a file to the form: After adding a file, it should not be possible to do it again.
2. the DocumentName is not shown because it depends on the file field.: I want to use this field to see if a file has been added, if so then it should no longer be possible to add files
I managed to get each point working separately from each other with If Stamtements e.g. if(string-lenth(${DocumentURL}) != 0,${DocumentURL}, ${PDF_document}) but whether to get them both working at the same time then I get messages like this: Dependency cyles among the x path expressions in relevant.
Would love to hear someone's solution, I've been working on it myself for too long, so I might be overlooking something simple