I am trying to create an if then statement to sum the hours in a table based upon answer given by radio button in LifeCycle Designer. Currently based upon the answer of the radio button, then certain tables are displayed or hidden. I wanted to use this same logic in the calculation field. Below is my both the radio button formula and calculation field formula. The statements in the calculation field work separately, but not when I am trying to work off the radio button.
I would be open to any suggestions if there is a better way to accomplish this situation.
This is the fomula in the radio button (Java Script):
if ( this.Yes.rawValue == 1 )
TasksRow.presence = "visible";
Working.presence = "hidden"
TasksRow.presence = "hidden";
Working.presence = "visible";
This is the formula in the calculation field (FormCalc):
Subform1.RadioButtonList.Yes.rawValue == 1 )
$.rawValue = sum(form1.#subform.ProjMarketSect.Project_Table.EmpProjInfoTable.