Startup online different from file startup

lewws shared this problem 1 year ago
Not a Problem

Hi,

I have issue with conditional visibility at

https://www.geogebra.org/m/yup6w9b7

From attached file, it works without problem, but when uploaded, the smiley appear at start

Comments (4)

photo
1

Try making tried1=true only if the dropdown's selected index is greater than 1

photo
1

... and/or delete this bad syntax from the CAS View :)


Simplify(E4)

photo
1

Thanks Michael for looking into this!

Best Regards,

Vincent

photo
1

Tested. Smileys don't appear anymore at start.

Instead of putting tried1 = true when SelectedIndex[listvalueLongerPart]>1 or SelectedIndex[listLongerPart]>1 inside the "On Update" section in the drop down list, I put this true false condition in the object tried1 itself.


I think it's just the way the system algorithm starts up the objects and rules that makes commands in the On Update section behave in a way which I cannot predict on loading.

Will take care to avoid coding this way.


Thanks!

© 2020 International GeoGebra Institute