Hi All ,
can anyone help me to resolve this error
Expression evaluation error [evaluation ID = X853UTXO] in rule 'testtable_write' at function a!textField [line 8]: Invalid index: Cannot index property 'name' of type Text into null value of type testTableR?list
a!formLayout( label: "Test Table R", contents: { a!columnsLayout( columns: { a!columnLayout( contents: { a!textField( label: "Name", labelPosition: if( ri!readOnly, "ADJACENT", "ABOVE" ), value: ri!testTableR.name, saveInto: ri!testTableR.name, readOnly: ri!readOnly ), a!dateField( label: "Dob", labelPosition: if( ri!readOnly, "ADJACENT", "ABOVE" ), value: ri!testTableR.dob, saveInto: ri!testTableR.dob, readOnly: ri!readOnly ), a!integerField( label: "Age", labelPosition: if( ri!readOnly, "ADJACENT", "ABOVE" ), value: ri!testTableR.age, saveInto: ri!testTableR.age, readOnly: ri!readOnly ) } ), a!columnLayout( contents: { a!textField( label: "Phno", labelPosition: if( ri!readOnly, "ADJACENT", "ABOVE" ), value: ri!testTableR.phno, saveInto: ri!testTableR.phno, readOnly: ri!readOnly ), a!floatingPointField( label: "Salary", labelPosition: if( ri!readOnly, "ADJACENT", "ABOVE" ), value: ri!testTableR.salary, saveInto: ri!testTableR.salary, readOnly: ri!readOnly ) } ) } ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidget( label: "Submit", submit: true, style: "PRIMARY" ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", value: true, saveInto: ri!cancel, submit: true, style: "NORMAL", validate: false ) }, showWhen: or( isnull( ri!readOnly ), not( ri!readOnly ) ) ))
Discussion posts and replies are publicly visible