Mark a Textbox shape required or Invalid by Forms API -> InputRequiredMarker

Topics: Core, General, Writing modules
Nov 4, 2013 at 3:35 PM
Edited Nov 4, 2013 at 4:59 PM
Currently I'm rendering a form in the frontend by the Forms API like:
field = Shape.Textbox(Id:  formField.FieldName,
                        Name: formField.FieldName,
                        Title: T(formField.FieldName),
                        ErrorMessage: T("Validation test error"),
                        IsValid: false)
Now I'm trying to add some validation errors to it but the properties "ErrorMessage" and "Valid" are never set in the "InputRequiredMarker" Shape so it never renders a controle validation warning.

Is InputRequiredMarker shape code simply not finished yet in 1.7.1 or do I something wrong.
btw: I really want to use Forms API and not customforms or something.
Thanks!