[api] Added enum support. Cleaned up string input.

Replaced enum select boxes with radios
Don’t give ids to form inputs