Hi team,
As per my requirement, on changing a particular form element [Token 1] , a set of other tokens [Token2,Token3 ..etc] needs to be recalculated and set first and then on click of submit , all my panels should load using the recalculated tokens.
I have added the tokens to be evaluated with in the <change> tag under the <input> of the Token1.
But still if i change the form element value, the other tokens are not getting recalculated. Could you please help with this?
sample:
<input type="text" token="timeTokenMid" searchWhenChanged="false"> <label>Start Time</label> <change> <eval token="formatted_token">strptime($timeTokenMid$,"%m/%d/%Y:%T")</eval> <eval token="timeTokenSt">relative_time($formatted_token$,"-1h")</eval> <eval token="timeTokenSt_datetime">strftime($timeTokenSt$,"%m/%d/%Y:%T")</eval> <eval token="timeTokenEnd">relative_time($formatted_token$,$obtDuration$)</eval> <eval token="timeTokenEnd_datetime">strftime($timeTokenEnd$,"%m/%d/%Y:%T")</eval> </change>
... View more