Field Enabler JavaScript

Favorite Rodent:
(if other):

To use this script with GoLive:

Add a Script object into the head section of your page in layout view, and double click it to open the Script Editor.

Paste in the following JavaScript code:

function OtherTextField(thisForm, thisMenu, thisText) {
var textField = thisForm.elements[thisText];
if (thisMenu.options[thisMenu.selectedIndex].value == "Other") {
textField.disabled = false;
textField.focus();
} else {
textField.value = "";
textField.disabled = true;
}
}

Select your form menu and switch to source code view. Add the following script function call...

onchange="OtherTextField(this.form, this, 'text');"

...into the <select> tag. The whole tag will end up looking something like this (though you may have assigned a different name to the selection menu)...

<select name="menu" size="1" onchange="OtherTextField(this.form, this, 'text');">

At the end of the function call, change the name between the single quote marks ('text' in the example) to be the name of your "other" text field. Then, switch back to layout view and set the text field to "disabled" in the Inspector for the default status.

Should be ready to go!