request.getParameter('custpage_yourfieldId') will ...
# suitescript
a
request.getParameter('custpage_yourfieldId') will give you the value