I'm looking for a edit boxes in script ui that take care of unit conversion, math execution, and error correction like the core indesign input fields and measurement editboxes in dialogs. I haven't found anything in my search. Can anyone point me in the right direction?
No, ScriptUI has no measurement fields. I wrote a measurement handler for ScriptUI a while back. Go to http://www.kahrel.plus.com/indesign/sidenotes.html, you can see how the measurement fields look. For the code, download the zip file linked at the foot of the page. Use the code in the script sidenotes_stack.jsx, that's the most recent. The functions in the script provide most of the functionality that you know from InDesign's measurements fields.
Thanks Peter. That helps a lot.