the original description shows the relevant code

I create a simple csp web page using the wizard and within that code a 
SAVE button is generated. 

< form name="form" cspbind="objForm" cspjs="All" onSubmit='return 
form_validate();'> 
 < input type="BUTTON" name="btnSave" value="Save" 
 onClick='form_save();'> 
</  form>


when you then look at the generated source code you see code like this:

function form_save()
{
   var form = self.document.form;
   var objid = form.OBJID.value;
   var result = 0;
   if (form_validate()) {
      //invoke #server(csp.user.testsearch.formSave())
      result = 
      cspRunServerMethod('Osqd08IBMs12C/gV4EiDjzoAED_m4p8X6Rae7qHlGt3Wb-
      1PkqwS1ypKBxzX2C3nC',1,'',objid, 
         (form.Active == null) ? null : (form.Active.checked ? 1 : 0),
         (form.Name == null) ? null : cspTrim(form.Name.value));
   }
   return (result == 1);
}

I am using Cache 5.0.9 on WinXp and IIS
the < form > code has the flag "cspjs="ALL", and it is Cache generating 
the code. 
           //invoke #server(csp.user.testsearch.formSave())


kev


Reply via email to