Added support for field groups

Added asterisk to field label when required

Fixed bug with select menu and setButtonState() when required, but no option selected

Packed new version with latest changes