the only way I found to setup a value inside a field is to use custom attribute in the token table to setup the custom attribute.
Then I change the field default value to {TOKEN:ATTRIBUTE_1} for example, and finally to setup the field read only I manipulated the survey using Javascript as described here:
manual.limesurvey.org/Workarounds:_Manip...to_this_Wiki_page.3F