I have a details view with an action button that directs to another page. Does anyone have any code that will automatically click the action button as soon as the view renders on the scene? Many thanks!
You want to move to the next page as soon the current page renders? What would be the point of a page that directly transitions into another one? Iām confused
The page I want to add this to has a form on It that is hidden based on a previous pageās form answer. If it is hidden I want the user to be automatically routed to a different child page. If it is not hidden, the user should stay on that page. If there is a better way to do that please let me know.
Ok, thatās clearer for me.
Not ideal, but have you thought about just showing/hiding a button āClick to continueā (redirecting to the next child page) if the form is hidden?
Or plain putting this form and the ādifferent child pageā on the same page, playing with hide-show depending on previous form answers?
hahaā¦thatās exactly what Iām doing nowā¦a āclick to continueā button. I canāt do your 2nd option b/c the page I need to show if hidden is comprehensive and I donāt want to recreate it. Heyā¦at least it sounds like I didnāt miss an obvious solution! Thanks so much for lending your perspective!
Could you add conditions to the redirect logic in the form on the āpreviousā page? So based on the variable response you send the user to the appropriate page directly?
Great idea, but since the page I need them to go to is a child page, itās not listed in the drop down options. Thx for the idea though!