• Resolved juggar77

    (@juggar77)


    Hi,
    I’m using the plugin for both desktop and mobile website version. Is there any possibility to prevent the keyboard shown when trying to insert a date by a smartphone?
    I’m looking for a way to block the manual insert for the date field, being allowed the user insert the date only via datepicker.

    Thanks

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

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    My recommendation would be convert the date fields in readonly. Please, follow the instructions below:

    – Insert a “HTML Content” field in the form with the following code as its content:

    <script>
    fbuilderjQuery(document).one('showHideDepEvent', function(){
    fbuilderjQuery('[id*="_date"]').prop('readonly', true);
    });
    </script>

    and that’s all.
    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Datepicker field without keyboard shown’ is closed to new replies.