Skip to main content
July 18, 2013
Question

How do I change the html of a form?

  • July 18, 2013
  • 4 replies
  • 1014 views
I would like to give a form field another ID name than 'mktField' so that I can use Javascript styling or css styling. My issue is the 2 column format is great except I want 1 or 2 of the form questions on their own row. From what I can tell there is no option to add a blank form field to dummy it either. Any help would be appreciated. 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

July 18, 2013
In the Two Column Form article there is some code that allows you to add section breaks.  You may also be able to modify this code to achieve what you are wanting.  Unfortuantely, I don't think you are going to be able to change the ID of form fields, because that is what Marketo uses in the javascript and styling for the forms.
July 18, 2013
My issue is the first question is a radio button which does not have an ID just a NAME for some reason. 
July 18, 2013
I posted some code in another discussion a while ago that adds attitbutes to form elements.  You could probably modify it to add an ID to the radio button field.
July 18, 2013
Thank you much!