Calendar

Hi,

I need to enter a text entry field for date. I want to make it work in one of two options:

1- a calendar box that opens for a full month and you can choose the date you like (exsists in most applications) - is there an internal function for this in Articulate or a way to link it to an external App?

2- Divide the date to 3 fields (day, month and year) and creat a drop down menue for each field with the correct values to choose from - how can this be done?

Thanks in advance

Itzik

7 Replies
Rich Calcutt

Hi Itzik, 

There is no function built into Storyline to do this (to my knowledge) - so this would definitely be a manual build. 

Very achievable though - I've attached a storyline file for you and a published example is attached here

Basically there's a layer for the dropdown calendar view, and a layer for each of the separate day, month and year drop downs. Each text box adjusts a variable which is then referenced in a text box above. 

You can easily adjust the parameters as you need from this template. Hope it's useful to you. 

Best Rich

Rebecca Fleisch Cordeiro

Hi Guys,

Richard, tx for this sample. Can you tell me what I'm doing wrong with the Enter Date box...the one on the left that shows a calendar? It doesn't seem to reflect what I put in the other 3 boxes?

Itzik, there's also a nice sample in this thread: interactive calendar for certificate of completion.

Rebecca Fleisch Cordeiro

Ah! I think I was also getting confused because the calendar is perhaps displaying in European format? So if I click on a day, then I see, for example, 20/5/2013. Silly American. I'm not interpreting that as May 20th, but wondering what month the 20th month is!

Would there be any way to pick up the date from the operating system? Because currently you're creating 31 adjust variables for date 1, yes? So you'd have to do a bazillion if you wanted to do the rest of the year and future years?

Tx again for the sample and for the explanation!

Rich Calcutt

Rebecca Fleisch Cordeiro said:

Ah! I think I was also getting confused because the calendar is perhaps displaying in European format? So if I click on a day, then I see, for example, 20/5/2013. Silly American. I'm not interpreting that as May 20th, but wondering what month the 20th month is!

Would there be any way to pick up the date from the operating system? Because currently you're creating 31 adjust variables for date 1, yes? So you'd have to do a bazillion if you wanted to do the rest of the year and future years?

Tx again for the sample and for the explanation!


Hi Rebecca - 

I imagine there is a clever way to pick up the current date more automatically using JavaScript added to the story.html file, though this would be dependent on the user's LMS/Browser accepting and running java. 

I interpreted Itzik's original request to be concerned more with the user selecting a given date, however. In the case of date 1 in my example, you're right about needing approximately one bazillion triggers. The much better way of doing it is with the second option where the day, month and year (or month, day and year for you Yanks) are all controlled separately. 

Thanks for the feedback! Rich