AnsweredAssumed Answered

script on different fields

Question asked by Gilo on Oct 10, 2014
Latest reply on Oct 10, 2014 by philmodjunk

Title

script on different fields

Post

Hello again

Is it possible to have one script to edit different fields?

I need a simple ok script, where if I click on Field_A and the field_A is empty, it should set field_A to "ok", and if Field_A is not empty, it should set field_A to "". 

But I would also need that script on Field_B, to change Field_B if I click on Field B. 

Is there a way to have one script do this?

Right now I'm stuck with Set Fieldvalue, where I can't use a var to tell FM which Field should be edited. 

Outcomes