Set radio button to no initial value

Document created by 2029 on Dec 15, 2014Last modified by 7c0530b8c4efdd5734ac0e37c02a18c0a98056cf on Jun 25, 2015
Version 4Show Document
  • View in full screen mode
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.

rtaImage.jpg

 

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

Attachments

    Outcomes