-
bakingfreshAsked 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
-
SammyReplied on June 26, 2015 at 1: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.
-
bakingfreshReplied 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
-
jonathanReplied on June 28, 2015 at 6: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.
-
bakingfreshReplied on July 3, 2015 at 8:46 AM
Hi Jonathan,
Any update on this?
I really need this to work with my forms.
Kind Regards
Stephen