Ah, I got lucky. My boss wanted it all turned off.I remember seeing something to do with changing the border colours to invisible, but can't remember exactly what.Sorry I can't be of more use,Tom
if (app.runtimeHighlight == true) { app.runtimeHighlight = false; }I have this in my root form initialisation. Just turns off highlighting, including shading the fields with the blue fill.Regards,Tom
Hehe, sorry Paul. Problem probably not the right word to use for you. How about:I get the same results with the execValidate() for hidden fields. I haven't found an easy solution to this so I've got a lot of script in my form to dynamically set the mandatory status as I do a lot of hiding.Sound bett...
I'd be tempted to go with a switch statement there insteadswitch(varInput){case "A": // run script for when varInput is the string "A" break;case "B": // run script for when varInput is the string "B" break;case "C":case "D": // run script for when varInput is the string "C" or "D" break;default: //...
Oooh, didn't see this post before.I get the same problem with the execValidate() for hidden fields. I've got a lot of script in my form to dynamically set the mandatory status as I do a lot of hiding.Tom
Hi Brad,Looking back at my answer before I don't think it will work as intended, because other fields are controlling the fields you want to keep visible.What you will need is to find those fields that are controlling the presence limit when they change the presence.How are you saying you want them ...
1. In the drop down list change event, use a switch statement e.g.switch (this.rawValue){case "Answer 1":RC1.rawValue = "Whatever you want to say";break;case "Answer 2":RC1.rawValue = "Whatever else you might want to say";break;default:RC1.rawValue = "Default text";break;}2. Don't know, not somethin...
I would wrap this radio group in another if statement looking at the second statement and an if statement in the click/change event of the second radio group diong what you want it to.Tom
Oh, and to find out if you're not sure, whilst in the script editor (cursor active in there, otherwise it doesn't work) you can hold down ctrl and shift and then click on the field in the Design View and it will give you the absolute address.Tom