Hi,
I think that the error message appears because there is no comma "," after "SetValue={uID}"
Please add it and try again.
web_edit_field("userid", "Snapshot=t1.inf", DESCRIPTION,"Type=text","Name=userid", ACTION,"SetValue={uID}", LAST);
Kind regards,