I need an input in a website where users can input something in a cron expression style, eg.

Every friday at 3pm

What would be the best ui system to implement this? Are there any conventions for this sort of thing?

I originally thought of a series of dropdown boxes, but I'm not sure how versatile that would be

3 Answers 3


You might need to be a bit more specific about the scenario you're building for - but calendars with recurring appointments are probably a good fit.

Outlook 2013


Google Calendar

Google Calendar


Since you specified best UI, unless you meant UX, I will try to give an example that not only works well but looks good too. A natural language form would be an good example of this.

enter image description here

Demo Here: http://tympanus.net/Tutorials/NaturalLanguageForm/

For this you can turn the expression into a natural sounding sentence so it is more easily understood and looks good. The underlined elements are dropdown choices that allow you to easily set up your expression. Yours could read something like:

Set me a reminder for every Friday at 7:00pm.

every being a dropdown of: this/every

Friday being a dropdown of: Monday/Tuesday/.../Friday

7:00pm being a dropdown of: 12:00pm/.../12:00am


This is how it is done in Cron Expression Input Library

enter image description here

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Apr 2 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.