on 07-27-2015 1:59 PM
Hi Keraban,
This is some kind of common issue.
Please erase the scripts and type again, this will be fixed.
Sometimes, Removing those blank rows and empty spaces will fix this issue.
I don't know what might the reason behind this issue, sometimes DS behaves in unnatural way.
Added to that, Date-field component can be used in Start-up, Because scripts in "On start-up" will be executed only after the components are initialized.
Please let me know the results.
Thanks,
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Never mind, it doesn't obstacle my work. It is running on browser anyway. And that's enough for me now
Thanks all,
Keraban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Keraban,
I'm not able to replicate your issue. In which event script have you coded the script shown in your screenshot?
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Keraban,
Checking for the selected date in the On Startup event of the application is probably too early in the cycle for the component to be recognised. Is there a reason why you have placed the code here? The more appropriate place to check for the date is in the On Select event of the Date Field. If you place your code there it will work.
Regards,
Mustafa.
Now that's interesting. I just tried placing your exact code in my own test application, in both the On Startup and On Select events. In both cases it works fine for me without giving any script errors.
I wonder if you have a corrupt installation of DS 1.5? Did you try restarting Design Studio and recreating your test application?
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.