Copy link to clipboard
Copied
I have numerous text fields and radio buttons on my form. I want to show a specific radio button only when text is entered in a specific field. Right now, I'm using the "on blur" function, but that doesn't check if there is text in the field.
Is there javascript that will check for text in the field on blur, then show the radio button?
You can use this in textfield custom calculation script:
if(event.value != ""){
this.getField("Radiobutton").display = display.visible;
}else this.getField("Radiobutton").display = display.hidden;
Copy link to clipboard
Copied
You can use this in textfield custom calculation script:
if(event.value != ""){
this.getField("Radiobutton").display = display.visible;
}else this.getField("Radiobutton").display = display.hidden;
Copy link to clipboard
Copied
Thank you, this is exactly what I was looking for!