• Resolved tensazangetsu

    (@tensazangetsu)


    hello,

    Is there a simple way to update the date format that is displayed in the date field
    (from d/m/y to d/m/y for example?) without breaking any server side logic?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you mean the date displayed in the admin table column (“Registrations”)? These settings are taken from Dashboard-> Settings -> General. If you change your date format there, it will automatically be changed.

    Otherwise you would have to edit the original code, but then your settings will be lost if Nick updates the plugin.

    Thread Starter tensazangetsu

    (@tensazangetsu)

    Hello,

    I’m referring to the date format displayed in the front-end form, probably linked from input type or class to jQuery DatePicker I think.

    Thread Starter tensazangetsu

    (@tensazangetsu)

    So,

    I don’t know what client code is managing the Date field to be a datepicker.

    So to resume… the DateField, in its actual state doesn’t seems to be easily “customizable”. In other words, how can you simply pass it a date range..or any option that a datepicker propose?

    Anyway, I’ve “bypassed” my issue by replacing my “Date” Field to a normal Text Field. Then using a small custom javascript to setup this TEXTFIELD to be a datepicker, with all options I need.

    I’m sure that there is a “simple” way of getting the right javascript Objet reference and then to customize it like we want. But I never found the JS reference of the datepicker that is used when you choose a “Date” Field in the admin panel.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date Field Format’ is closed to new replies.