preSelected Radio Buttons

Former Member
Former Member $organization

Is there a way to write anything to a URL or in a system table that will preSelect a radio button on a TNEW single/selectSeating  URL ?

Like if we wanted "Lawn Section GA" to automatically be selected when landing on this page?

http://support.arvadacenter.org/single/selectSeating.aspx?p=53988&z=0

 

Thanks

Lisa Girard

 

 

Parents Reply
  • Click trigger would be:

    $('input[type=radio][value=508]').trigger('click');

    but if you put that in a $(document).ready(); then the page will ALWAYS select that option on every load. Not sure the best way to make sure you only do that the first time. First (and simultaneously worst) thought would be to add a dummy price zone ordered first for the code to look out for and simultaneously hide -- that way you know if you start with it selected, that was the first page load and can execute the rest of the code based on that.

    That said, it's looking like all of what I've suggested is a pretty terrible idea and should probably be avoided!

Children