- Posts: 9
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
In other words: If the submit button would be triggered via Javascript after loading the page, it would fit your requirement? BTW: What version of LimeSurvey is used?phplist wrote: and also the instruction to submit the survey immediately, without loading of the survey page with prefilled fields.
jelo wrote:
In other words: If the submit button would be triggered via Javascript after loading the page, it would fit your requirement? BTW: What version of LimeSurvey is used?phplist wrote: and also the instruction to submit the survey immediately, without loading of the survey page with prefilled fields.
What do you mean by writing "cleaner"? The question "Is it robust?" comes to my mind by every workaround in LS. I often wonder that is works without too many complains from the client browser side. A server side scripting which would allow triggering events (e.g. submitting or sending emails) would be great. A autosubmitt-setting on groups/questions or a special redirector questiontype (which is currently done via quota workaround) might be a feature request.tpartner wrote: I think the API would be cleaner and more robust than a JS solution to trigger the submit in LimeSurvey.
The version is shown at the bottom of the page.We're using LimeSurvey hosted (limequery.com)
I realize that you have a dislike/distrust for all workarounds but I think that they are one if the reasons that LimeSurvey is so flexible.The question "Is it robust?" comes to my mind by every workaround in LS.
My suggestion to use the API is a server-side solution.I often wonder that is works without too many complains from the client browser side. A server side scripting which would allow triggering events (e.g. submitting or sending emails) would be great.
Which comes from the first time using LimeSurvey with a workaround in the old days. Hidden field with random number wasn't hidden for some browsers. Respondents entered numbers in the random number fieldtpartner wrote: I realize that you have a dislike/distrust for all workarounds
I'm aware of that. The distinction here was inside or outside of LimeSurvey. Reducing dependency with outside scripts might be a reason too.My suggestion to use the API is a server-side solution.