Link to home
Start Free TrialLog in
Avatar of StuartOrd
StuartOrdFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Java for refresh?

I'm designing a form that has various lines of text that I want to hide depending on some calculated values, so that the user only sees the appropriate one. It all works fine using @functions in the hide formula.

Now if I change the data, the computed value (that is also shown on the form) changes straight away when i move from the field I was altering. However if the result is such that the lines hidden should have changed, they don't - I have to press F9 to get them to change.

Now it occurs to me that I might be able to put something into the "onMouseOut" event such as doc.Refresh - but alas I see it's expecting some Java code. Unfortunately I  know even less about Java than I do about - well almost anything really.

Does this look a feasible way to solve the problem? If so , can anyone offer me the code?

Thanks,

Stuart
Avatar of p_partha
p_partha

enable automatically refresh fields in the form properties .....


Partha
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi StuartOrd,

Reply JavaScript, not Java, and it isn't what yu want to do.  The automatica refresh sugegsted my madheeswar will work easily, but it tends to make things run slowly.  Hemanthas works better,though you end up with more maintenance.

Best regards,
qwaletee
Avatar of StuartOrd

ASKER

Hi all,
Thanks!
Partha, qwaletee, I'd already got that enabled, but past experience has told me not to be surprised when it doesn't work
Hemanth, it's a case of my tunnel vision, I hadn't looked down the list past onMouseOut - Exiting works fine
Regards,
Stuart