How to put the logged in user into Requester Name

How to put the logged in user into Requester Name

Under Form Rules, in Actions session, i applied the script as below.
CS.setValue("REQUESTER", CS.getLoggedInUserName());

when the form load, the error occurs. Please advice.

                New to ADSelfService Plus?