• The IDs of the input field should include a unique id, for example the one used for the form element. So, for example the id of the name input would be mcfb__name instead of just mcfb_name.

    This would ensure valid HTML and that the field labels reference the right input in case more than one instance of the block is used on the same page.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Make field IDs unique’ is closed to new replies.