Set radio button to no initial value | Community
Skip to main content
December 15, 2014

Set radio button to no initial value

  • December 15, 2014
  • 0 replies
  • 807 views
Add the below code to a custom HTML block, update the name in bold  to the name of the field.

Replace the **** with the word "script"

<**** type="text/javascript">

(document).getElementsByName('FIELDNAME')[0].removeAttribute('checked');

</*****>

Please ensure that you have access to an experienced JavaScript developer.

Marketo Technical Support is not set up to assist with troubleshooting JavaScript.

Here's a sample page: info.dbmayberry.com/noinitialbutonvaluechecked.html

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.