We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43406
    • 15 Posts
    I have a date TV called "Event Date" which the user will select a date when the event occur. User should only select a date after today (as events can't happen in the past).

    The date field has the property "Earliest Date". If I understand correctly if I set a valid date in there then Modx will not let the user select a date older than whats in this field.

    How do I make it automatically fill out the date as tomorrow's date so user can't accidentally select a date in the past (because it would be older than "Earliest Date:")?

    Also if I want for example to make it today's date (so event can start from the date the event page is created)

    Can I put something like now() in that field?
      • 37105
      • 194 Posts
      You can put
      now
      in the field default to get the current date and
      tomorrow
      for today + 1 day.
        Codeplaza Webdesign: for professional websites at low cost