DSP Usage of %25scope

Hi all,
I have a DSP page which accepts 2 inputs from the user. These 2 input fields should be set as input to 2 fields which are part of a record which is an input record for a service.

This can be set using %scope rparam tag. But the rparam tag accepts only hard coded values as input. I am not able to pass runtime user inputs like a text field value.

summary:
%scope rparam(custServiceInfo={csClass=‘Gold’;csPhone=‘800-444-2300’})% is possible since value being set is a hard coded value.

But
%scope rparam(custServiceInfo={csClass=inputName;csPhone=inputPhone})% is not possible. inputName and inputPhone are input text field names.

Any suggestions?

Thanks in advance.