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

    Telling a User which day of the week their product is going to get delivered.

    Asked by bakingfresh on June 26, 2015 at 10:29 AM

    Hello,

     

    I am selling a product that is a weekly subscription and the customers products get delivered weekly.

    I have set up a field called "You first box will be delivered on...". Which displays the date that their 1st product will arrive and this works perfectly.

    What I want to do next is if the "You first box will be delivered on..." shows a delivery date that falls on a FRIDAY, say Fri 26th June 2015, I want another field that tell the user that there next product will be delivered on the next Friday and every Friday after that. (This other field does not need to display every date in the future that falls on a Friday, it just needs to tell the customer it will be every "FRIDAY".)

     

    And if "You first box will be delivered on..."shows a date that falls on a THURSDAY, (i.e Thu 25th June 2015) this other field will tell the user that there next product will delivered on he next Thursday and every following THURSDAY.

    And I need to do the same for delivery dates/days that fall on TUESDAY AND WEDNESDAY.

     

    And so on for the same as Tuesday and Wednesday.

    (I only deliver on Tue, Wed Thurs and Fri)

     

    Many Thanks

    Stephen

    Page URL:
    http://form.jotformeu.com/form/51763285080355

    product Day Week to get
  • Profile Image

    Answered by Sammy on June 26, 2015 at 01:43 PM

    Hello Stephen,

    You can use the sub-string widget to extract the name of the day in the fields value of the date-string.

    Get the id of the date-string field to be used in the sub-string widget.

    Next set the sub-string properties.

    Use conditions to populate and additional textfield with the extracted sub-string, this will be the delivery day for subsequent orders.

    You can then use conditions to get the sub-string value and display it to the user as the delivery day.

    I have included a sample of you cloned form showcasing the mentioned details

    http://www.jotform.com/form/51765051573961?

     

    Contact us if you need further clarifications.

  • Profile Image

    Answered by bakingfresh on June 28, 2015 at 12:41 PM

    Hello,

     

    Thanks for letting me know.

    However it does not seem to work correctly.

    I want the "Delivered Every" field to show the DAY that is displayed in the "You first box will be delivered on..."

    I have altered the conditions to use this "You first box will be delivered on..." field rather then the "DateString"

    The issue I am having is when I do a test run, and altar the "current time" to 30th June for example, the "Your first box will be delivered on..." changes too 03 July (which is correct) but the "Delivered Every" does not changed too "Friday" which is should. It just stays the same.

    This is the same when I select different dates, or if it does change it says a different date.

     

    My form can be found here: http://form.jotformeu.com/form/51784662733362

     

    Many Thanks

    Stephen

  • Profile Image
    JotForm Support

    Answered by jonathan on June 28, 2015 at 06:46 PM

    I was able to see the problem when I test your form http://form.jotformeu.com/form/51784662733362

    It seems the Substring widget which has the name of Day value is not transferring to the "Delivered Every" field.

     

    Please allow me some more time to check what seems to causing the issue. I could not determine it yet at this time. I will get back to you with an update as soon as possible.

    Thanks.

     

     

  • Profile Image

    Answered by bakingfresh on July 03, 2015 at 08:46 AM

    Hi Jonathan,

     

    Any update on this?

    I really need this to work with my forms.

     

    Kind Regards

    Stephen

  • Profile Image

    Answered by Shadae on July 03, 2015 at 10:50 AM

    Hi Stephen,

    We do apologize for the delay. Jonathan is not currently online however your message has been passed on to Jonathan and an update will be provided as soon as possible.

    I will also take a look into this issue to assist with having it resolved as soon as possible.