What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I see the selected day of the week from a date field?

    Asked by StrawberryDesi on May 13, 2015 at 03:37 PM

    How can I make the Day-of-the-Week show on my Email Notification.  I currently use the  {DATE:Full-US}  formula but it displays the date and the time.  I'd like for the day of the week to show i.e.:  "Thursday, May 14, 2015", or if you could just show me how to make the day of the week, by itself, to show I'd be happy.  i.e.: "Monday" or "Saturday".

    Can you please help me with this?

     

    Thank you.

     

    Henry

    Day Week Make style size email notification font
  • Profile Image

    Answered by raul on May 13, 2015 at 04:27 PM

    Unfortunately, as far as I know it's currently not possible to retrieve the selected weekday from a date picker.

    However, you could accomplish this using the full source code of your form and a custom script. You can see an example on how to do this on this thread: http://www.jotform.com/answers/559325#559557

    Please check it out and let us know if it helps.

  • Profile Image

    Answered by StrawberryDesi on May 13, 2015 at 04:36 PM

    I have absolutely no idea what you mean. I went to the thread that you indicated. But, the thread is unclear and VERY VERY confusing.  Can you tell me what I need to do to make this happen, please?

     

    Thank you.

     

    Henry

  • Profile Image

    Answered by raul on May 13, 2015 at 04:47 PM

    My apologies for confusing you with my previous response.

    What I meant to say is that you can do this by using the full source code of your form and a custom script. On the link I provided there's an example of a way to accomplish this using this JQuery library: https://jqueryui.com/datepicker/. So, if your form is embedded on a website you can use the mentioned library to include the day of the week in the email notification. If not, then unfortunately there's no way to do this right now.

    You can let us know the URL where the form is embedded (in case you do have a website) so we can inspect it and provide an example on how to do this using your form's source code.

  • Profile Image

    Answered by wsfarm on May 14, 2015 at 12:20 AM

    This may help, as I had a similar problem.

    Using a condition it is possible to retrieve the day (in three letter form) from the Date Picker and format it as you wanted:

    The Date Picker is the standard date picker. If you want the current date to appear automatically that can be set in it's properties. If you want just the current date and for it not to be changed it can be hidden.

    The other field is a standard Text Field, with its Mask set to ***, *** **, ****

    The condition is:

    That's it. You can put the Day and Date field into your email notification.

    If you absolutely needed the days spelled in full that may be possible with a bit of fiddling.

    Cheers

    charlie (wsfarm)

     

  • Profile Image
    JotForm Support

    Answered by jonathan on May 14, 2015 at 01:14 AM

    This template does show the Day of the Week of selected Date

    http://www.jotform.com/form-templates/show-day-of-the-week

     

    Hope this help also.

    Thanks.

     

  • Profile Image

    Answered by wsfarm on May 14, 2015 at 03:59 AM

    And, yes we can also do Thursday, 14th May, 2015:

    Conditions on the mask for Long Day & Date:

    The template is in the Calculations section: http://www.jotform.com/form-templates/date-including-day-of-week

    Of course it many be that the Mini Date Picker Widget will do the job directly:

    Put mini into the Widget search box.

     

    Regards

    Charlie (wsfarm)