Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with power scripts and live fields on transition screens

jay keck-yahoo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2022

I’m trying to setup a use case where I selectively hide or display fields in a transition screen based on the contents of other fields also on tbe transitions screen. This means I need to be able to detect any key events on certain fields so I can potentially hide others. I’ve got everything setup correctly with a main script, a hook script and and entry in the live fields list. The main screen is issuing lfWatch commands on the fields of interest using tbe key up event.

this all works great if the screen where the fields are on is not a transition screen, but as soon as I use a transition screen the hook script never gets invoked by the main script, even though I traced it to point where call is made.

Does the lfWatch command not work when the field is on a transition screen, or is there another way I have to do this for transition screens? Do transition screens not support dynamic hiding of fields based on other field inputs, like a normal edit screen does?

thanks,

jay

 

1 answer

1 vote
Hyrum Steffensen _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2022

Hello Jay,

Thank you for asking about Live Fields on the Atlassian Community!

All things being equal, Live Fields should work the same in the Edit screen as it would in the Transition screen. However, there are certain caveats that could change the expected result based on what is in your script. I am in contact with you via Appfire support, so I will assist you offline. Once we figure out the solution, I will post an example here so that others in the Atlassian Community can benefit from your question.

Regards,

Hyrum Steffensen

Senior Product Engineer, Appfire

Suggest an answer

Log in or Sign up to answer