public Map<String, String> collectValues() {

        Map<String, String> result = new HashMap<String, String>();
        for (Map.Entry<String, I_CmsFormField> entry : m_fields.entrySet()) {
            String key = entry.getKey();
            String value = null;
            I_CmsFormField field = entry.getValue();
            value = field.getModelValue();
            result.put(key, value);
        }
        return result;
    }
public Map < String , String > collectValues ( ) { Map < String , String > result = new HashMap < String , String > ( ) ; for ( Map . Entry < String , I_CmsFormField > entry : m_fields . entrySet ( ) ) { String key = entry . getKey ( ) ; String value = null ; I_CmsFormField field = entry . getValue ( ) ; value = field . getModelValue ( ) ; result . put ( key , value ) ; } return result ; }
Collects all values from the form fields.<p>

This method omits form fields whose values are null.

@return a map of the form field values