# Error evaluating field ' '. java.lang.Double cannot be cast to java.lang.String

I was able to upload the xlsform. However, while testing the form, I came upon this error as below.

Error evaluating field 'tp1': java.lang.Double cannot be cast to java.lang.String

I think you should try changing the relevant condition in cell K158 and following ones.

You state the condition as
selected(\${tp},'TP1')
but \${tp} can only take values:
tp1
tp2
tp3
tp4
I think the variable is case sensitive, so you might get an error.

I hope this helps!

Best,
Andrea

Thank you for that. I have found out the error through another member in another thread. Thank you for your input.