If I have a lookup table field on my add/edit page, and there is only one option available, I would like to it to be selected by default when the user visits the page. I expect this will have to be JavaScript OnPageLoad event.
I can get the control with Runner.getControl, but am not sure how to check how many options there are.
Thanks!