Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Why would you call the custom code after the system verification?

Would you require or not require a response for Q2? (I'm working on a similar Q1 Q2 survey where Q2 is a followup). What is the difference between calling before or after the system JavaScript verification? Thanks!
asked Apr 8, 2015 by ab3886 (310 points)

1 Answer

0 votes
Hi AB3886,

If you select Custom Javascript verification <after> system js then  validation done by software's predefined function will be done first followed by your custom js.

However, if you select Custom Javascript verification <before> system js then any validation written by you in advanced js box will be executed first.

As per my understanding, you have programmed two question Q1 and Q2 on same page. Q1 is mandatory to answer and Q2 will be asked as follow up basis some response in Q1.

In this scenario, remove require response from Q2 and apply custom javascript in Q2.

I hope this resolves your query.

Regards,
Saurabh
answered Apr 9, 2015 by Saurabh Aggarwal Gold (31,425 points)
...