Show value upon User Input (Auto-Fill)

Show value upon User Input (Auto-Fill)

This should be easy but I am not completely familiar with the zoho scripting.

I have two form:

CARE STAFF
MaxValueCAREstaff

When you input a new staff member, the maxvaluecarestaff.CARE_Staff_Number gets 1 added to it, thus giving the next staff member a unique staff number. This works fine but I want the input form to show the current staff number. Right now there is a single line number field for STAFF_Number which is assigned the current MaxValueCAREstaff.CARE_Staff_Number value. I don't want this field to be editable, i just want it to show.

So when someone goes to add a new CARE STAFF member they see:

CARE # :    5
Name:        _________
Address :   ___________


I tried this for On User Input on the CARE STAFF form for the field STAFF_Number:

staffnumber  =  MaxValueCAREstaff  [ID != 0];
input.STAFF_Number = staffnumber.get("CARE_Staff_Number") ;

Thinking that I could make a variable staffnumber the CARE_Staff_Number from the MaxValueCAREstaff form then set that value to show for the STAFF_Number field.

but it says:

Error at line:2
The operator :'get' cannot be applied to 'NVIEW' expression