Usage of Load()within with()

Hello Folks,

 

can anybody give me a use case/ scenario where load() function is used within a with() function.

 

Thanks In Advance.

 

Regards,

Amit

  Discussion posts and replies are publicly visible

Parents
  • Variables defined in load() evaluated only once whereas variables defined in with() will be evaluated for each interaction on form,However forcefully you can dynamically change the value of the variables defined on load() as well.But Performance wise load() is faster than with().you can't perform save operation over the variables which are defined inside with().
    Any consistent values should be maintained in the variables defined in load(),and variables which are expected to change its value based on given input should be defined in with().
Reply
  • Variables defined in load() evaluated only once whereas variables defined in with() will be evaluated for each interaction on form,However forcefully you can dynamically change the value of the variables defined on load() as well.But Performance wise load() is faster than with().you can't perform save operation over the variables which are defined inside with().
    Any consistent values should be maintained in the variables defined in load(),and variables which are expected to change its value based on given input should be defined in with().
Children
No Data