• Resolved aussiemike

    (@aussiemike)


    This has been an issue for a long time now and must be leading to abandonment of this great plugin.

    The Placeholder on dropdown select still does not show as the default selection and we are still relyiong on the un-reliable first selection in hte dropdown which does not force validation.

    Someone wrote an apparent fix for this as follows (We have tried this but it does not work):
    https://premium.wpmudev.org/forums/topic/forminator-add-placeholder-to-the-select-field-as-a-default-value/

    if ( ! empty( $placeholder) && 'enable' !== $search_status ) {
    $options_markup .= '<option disabled value selected>' . $placeholder . '</option>';
    }

    Add this code after line 230 in following file: /wp-content/plugins/forminator/library/fields/select.php

    This important function should be addressed as a priority by the developers of this excellent plugin?

    The whole system of online communication is based on validation and surely the developers would not like to think that their time and effort was being wasted due to this recitifiable problem.

    I hope everyone who uses Forminator is impressed by the plugin and keeps using it.

    Best wishes, Mike

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @aussiemike

    I hope you’re doing well!

    This is a known issue and our developers know about this. I’ve asked our developers for feedback. if there is a ghost fix we will follow back with an update in this thread.

    Have a good day!

    Cheers,
    Nastia

    Thread Starter aussiemike

    (@aussiemike)

    Hello Nastia,
    Thank you for your response but this appears to be the same response to the same ongoing issue. It’s not like it only happened yesterday, been a problem since the creation of the plugin. Even in your paid members forum on your own site their are requests for a solution.

    PLEASE PLEASE PLEASE can we all have a fix for this? Even a temporary solution would be better than waiting another year to see if it does get fixed.

    Best regards,
    Mike

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @aussiemike

    I hope all is well with you!

    Currently adding this functionality requires many core changes to many files and we can’t provide a temporary fix. The code snippet you provided merged into Forminator’s core back in March and will be part of Forminator 1.13 that will be released soon.

    The code shared above, I’m afraid will not work so please undo the changes. According to HTML there is no “placeholder” attribute for <select> elements.

    Simulation of a placeholder can be done by adding an input as the first option with an empty value. This is something that Forminator, as of now, implements. As a workaround please create a new option in a Slecte filed and name is as your placeholder.

    Please see this screenshot:
    https://monosnap.com/file/RfcbFXEAOxV2kWUK9Lr1syAQjXym0j

    Hope this helps!

    Kind regards,
    Nastia

    Thread Starter aussiemike

    (@aussiemike)

    Thank you for this temporary fix. It will do for now but does not solve the validation problem. I look forward to the next update with solution.

    Best wishes
    Mike

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @aussiemike

    I hope you are doing well!

    The fix will be released in the future versions of the Forminator plugin.

    For now, I’ve marked this thread as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dropdown Select Placeholder’ is closed to new replies.