Hi
I just wanted to check my understanding of how you create a custom field in an edit page:
I have created a custom input field on my edit page:
<INPUT id=tester name=tester>
and placed the following code in the edit page JavaScript OnloadEvent:
this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){
var val = $("#tester").val();
formObj.baseParams['tester1'] = val;
});
Which should then enable me to access the field value if I place:
$_SESSION["tester"]= $_REQUEST["tester"];
in either the "before record updated" or "after record updated" event.
I just do not seem to be able to store the value (using phpr5.3 build 7113) and don't know java so wouldn't be able to spot if there was a problem with the java code.
Thanks
Richard