Add class to or wrap .mktoFormRow
Hello!
Maybe there is a better way of doing this, but I have a situation where I need to style a form row based on the field within.
Does anyone have an idea on how I could add an a additional class to (or wrap) mktoFormRow with something that is referencing the specific field inside of it?
For instance, if I had:
<div class = "mktoFormRow">
<label for "FirstName" id="LblFirstName" ... ></label>
<input></input>
How could I add something to that parent div so it looks like this?
<div class = "mktoFormRow input-id-FirstName">
Thanks for any ideas and suggestions!