oTree Forum >

Control data sent back from live_method

#1 by Trontatuma (edited )

How can I control whether the data will be sent as string, int or boolean in JS? I am worried that some of my issues might be caused by differences in types while sending data back and forth in live_method. In theory it should work since use parseInt in JS and the counterpart in Python is int, but I am not sure I know everything that is going on.

Write a reply

Set forum username