Home > Forum > General > Can a menu button be triggered automatically on page load?

Can a menu button be triggered automatically on page load?
0

Hello,

I'm wondering if it's possible to trigger the automation of a menu button every time the user opens a specific page. There is already a HTML field (button behavior) in my form that will do exactly the automation I need, but will be more helpful if this happens automatically instead of waiting for a click from an user.

Thank you very much!

MVP

Hi Joanna,

if you already have an HTML field, you could add a script tag and execute InvokeMenuAction function
https://docs.webcon.com/docs/2025R1/Studio/UxRules_General/JavaScriptEditor/#invoke-menu-action

This will automatically execute the button whenever the HTML field is rendered.

I hope you are not creating and endless loop as only a few actions in the menu button don't trigger saving and reloading the form.

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.