How do I change the html of a form?

Anonymous
Not applicable

How do I change the html of a form?

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. 
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: How do I change the html of a form?

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.
Anonymous
Not applicable

Re: How do I change the html of a form?

My issue is the first question is a radio button which does not have an ID just a NAME for some reason. 
Anonymous
Not applicable

Re: How do I change the html of a form?

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.
Anonymous
Not applicable

Re: How do I change the html of a form?

Thank you much!