This one’s fairly niche, but I’ve got a dashboard page with a search form containing a single UDTextBox field in it to have a default value of an optional query string parameter in the URL, intended to allow an external application to automatically populate the user ID and submit.
It looks like this automatically submits when I tested it on a form that doesn’t have any validation in it, but my production form does validate and thus won’t submit automatically.
Is there a method to trigger the form submission that I could invoke conditional to that query string parameter being passed? Or will the user simply have to press the button themselves?
I tried using Invoke-UDJavaScript but it doesn’t seem to work, neither with that label or the longer one for the button I retrieved from Edge Dev tools.
Hey all, has anyone had any luck with this in 2.6.2? I am trying to do something similar from a dashboard that has a form for input. I have placed the Invoke-UDform cmdlt in every place I can think of (in the form, in the submit portion of the form, before the form definition, after the form definition but still on the dashboard page. Regardless of where I seem to place it, the Invoke does not seem to do anything. I threw a toast in there to ensure that I was hitting that conditional. This proved I was in the conditional. I appreciate any insight on this!
quick update on this, i am able to invoke the form when triggered with a button, but have not worked out how to do this when the values for the form are passed in via the URL (have not been able to devote that much time to investigating though)