langsem
(Langsem)
September 19, 2019, 12:05pm
1
Hello i have a string that contains a date formatted like this 15.09.2019
I need to pass that string into a non typing calendar thats inside a browser.
I am not able to type anything to the calendar only pick by date, Also the calendar display januar,february etc and not 01.02…2019 , 01.01.2019 etc
I have already looked upon the forum but have not found any solutions and most of them are to complicated for me
AshwinS2
(Ashwin S)
September 19, 2019, 12:08pm
2
Hi @langsem
Have you tried set web attribute activity
Have a try
Hi Pragyan,
You can try this:
Create a variable called selector.
Use assign activity and build the selector (copy the selector and use the variable)
Assign selector variable in selector section.
Let me know if you need more details.
Thanks,
Tuhin
Thanks
Ashwin S
langsem
(Langsem)
September 19, 2019, 12:18pm
3
Hm so i shall use the set web attribute indicate the entire calendar ? then pass in the variable string into the value ?
AshwinS2
(Ashwin S)
September 19, 2019, 12:19pm
4
Hi @langsem
Does it have text box kind of where choosing or normally typed the value
Thanks
Ashwin S
langsem
(Langsem)
September 19, 2019, 12:22pm
5
Nope i cant type anything into the calendar only pick date. Else i would have used type into funciton.
It looks like the same calendar you have here in the chatbox
AshwinS2
(Ashwin S)
September 19, 2019, 12:23pm
6
Hi @langsem
Then you need to pass the string value into selector based on the property
Thanks
Ashwin S
langsem
(Langsem)
September 19, 2019, 12:24pm
7
what do you mean by this ?
AshwinS2
(Ashwin S)
September 19, 2019, 12:24pm
8
Hi @langsem
Can you show the selector for choosing year/month and date
Thanks
Ashwin S
langsem
(Langsem)
September 19, 2019, 12:42pm
9
The date picker looks like this
AshwinS2
(Ashwin S)
September 19, 2019, 12:44pm
10
Hi @langsem
Do one thing
Use Set web attribute activity and pass the selector along with the format you have mentioned it should get populated and after that click on Date picker symbol to make sure the value is there
Thanks
Ashwin S
1 Like
langsem
(Langsem)
September 19, 2019, 1:02pm
13
what shall be in attribute ?
AshwinS2
(Ashwin S)
September 19, 2019, 1:03pm
14
hi @langsem
Give innerhtml or outer html or even set empty and check
Thanks
AshwinS
langsem
(Langsem)
September 19, 2019, 1:04pm
15
gives error value for required acitivty arguemtn “attribute” was not supplied
langsem
(Langsem)
September 19, 2019, 1:09pm
17
did not work. It managed to open the calendar, but it dont insert the correct date
langsem
(Langsem)
September 19, 2019, 1:40pm
18
its cant pick a date, so noithing happens
langsem
(Langsem)
September 20, 2019, 7:38am
20
What do you mean by selector :)?