• Resolved alanbaker

    (@bakeralanbakernet)


    Hello,

    I’m migrating PDB to a new WordPress instance. The old instance and the new instance have the same required fields for the [pdb_signup] page. On the old instance, each required field has an asterisk after its title. On the new instance there are no asterisks.

    On the old site, the input tag looks like <input name="first_name" id="pdb-first_name" required="required" type="text" class="required-field regular-text" value="" />. On the new site, the parameter required=”required” is not present.

    Why are asterisks missing from the new site’s required fields?

    Regards,
    Alan

    P.S. Both instances are running WordPress 5.0.3 and PDB 1.8.4.7, but the theme is different.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    First thing to check is the field definition, make sure it is marked required.

    The “required” attribute in the input tag cause the browser to do a client-side validation of the field. This is placed by the HTML5 Elements add-on, so you may not have that activated on the new site.

    Thread Starter alanbaker

    (@bakeralanbakernet)

    Thank you. The error messages for required fields work perfectly, so their boxes must be marked. The missing “required” attribute was indeed due to the missing HTML5 Elements add-on, but alas, activating it didn’t bring back the asterisks.

    Alan

    Plugin Author xnau webdesign

    (@xnau)

    Check the “Marke Required Fields” setting in the plugin settings under the General tab?

    Thread Starter alanbaker

    (@bakeralanbakernet)

    That was it–thank you!!

    Alan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘required=”required”’ is closed to new replies.