AnsweredAssumed Answered

Using scripts in button or in layout

Question asked by ElpicFayl on Jan 4, 2016
Latest reply on Jan 4, 2016 by ElpicFayl

Hello,

I am asking myself a question about the best practice in using script in buttons or layouts.

I am working on a form layout accessible via a button from another layout.

When the user click on the button I have a script who cleans the global fields used in the form in order to present a clean slate each time the user access this form.

So do I put my cleaning script in the button which access to this layout or do I use a script trigger with OnLayoutEnter?

Thanks for your answers.

Outcomes