[Ur] Integers as select box option values

David Snider david at davidsnider.net
Thu May 22 13:55:15 EDT 2014


I’m putting an integer value in the value attribute of the option tag by using the “show” in the rendering function.

<select><option value=“1”>Option 1</option></select>

However when I go to read the value back in the form handler it comes back as a string. Does Ur/Web have a way to convert strings back into integers?





More information about the Ur mailing list