Once you have defined a hidden attribute, you can reference it in other expressions, such as:
<Field name=’secureKey’> <Disable><lt><ref>jobGrade</ref><i>10</i></lt></Disable> ... </Field>
You can use XPRESS defvar variables to hold the results of a computation, but the results are typically not as efficient as using a hidden form field.