Ah! OK, I get it now. Actually I was trying to work out how to create a rule – the display part was just me taking small steps. However, the code you’ve given is very useful as it points me in the right direction to be able to do some other automation on the form now I can make the connection between the utility functions and the display via JQuery.
I’ve now also managed to get the form to switch automatically by creating a rule that runs on form ready and sets the field that controls the display from {url:frmtype}.
So great stuff. Thanks. I’ll be putting in a request to our programme team to get a license key shortly.
Regards, Julian.