• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.

Customizing form styling

0 votes
When forms export, can we get the alt id to be the id? I have customized the input for the checkbox, but I need the form id to match my label id... but instead my form id is a random string of numbers.
asked Apr 21 in how_to by jcfalteredimage (380 points)
edited Apr 21 by jcfalteredimage
    

1 Answer

0 votes

Starting in v3.0.9 the name field from InDesign comes through as the name attribute in the HTML for all form elements.

You can target that with CSS:
[name='myFormElement'] {
  //rules goes here
}

Or with JS/jQuery:
$("[name='myFormElement'] ")

answered Apr 24 by justin (115,300 points)
...