Field attribute style syntax
Field attribute style syntax
bbrindza
Posts: 316Questions: 73Answers: 1
What is the proper syntax for the following. I am getting a JS console error. I'm basically applying multiple style formats to the field (ie. width and height).
{label: "Reviewed",
name: "ELOOKO",
attr: {maxlength:1,
style: "height:2px",
width:4px"}
},
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like you are missing a
"
in this line;width:4px"}
Should be:
width:"4px"}
Kevin
Oh my. I must be going blind . Thank you for the second set of eyes.