• Resolved jsevigny

    (@jsevigny)


    Hi,

    I’ve installed your plugin and got it working, but now I’d like to change the default value that appears in the input box when the page is loaded. I’d like this value to be some text instead of today’s date, is it possible to change that easily?

    Thanks,

    Josh

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @jsevigny
    Enable the option ‘keep placeholder’ in the plugin’s settings page and edit the placeholder of the input field, that should work.
    Greetings, Carlos

    Sorry, I’ve the same problem.
    Keep Placeholder does not work.
    Here my input declaration:
    <input type=”text” name=”event_end” id=”event_end” class=”datetimefield” value=”2020-04-15 09:30″ placeholder=”2020-04-15 09:30″ />

    I tried the german date-format too, I tried it with and without declaration of the placeholder, the plugin only shows the current time.

    Hi @rudolffiedler I’ll need to check your website, if possible share the link to your page. You can open a new support request here in the forum.

    Hi Carlos,
    thanks for your answer.
    I created a “clean” WP-Installation for you to test. But in this installation everything works perfect.
    So I will look for the error in the rest of the site
    I’ll tell you the reason of the problem when I found it.
    thanks once more,
    Rudi

    Addition:
    It seems, that this function works perfect in WP-Singlesite,
    but not in WP-Multisite-environment.

    I deactivated all plugins in multisite, the value from the input-field does not appear in the js-environment.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change default text in input field’ is closed to new replies.