how to use data of a text list field to draw a canvas image?
the answer is jQuery. The comment above written by burnsjeremy

'I guess you need to get the value in the browser on the client side so you would need to use jQuery (you can pass the value from the backend '

thanks, burnsjeremy