Hi I have the following field in a form:

    search = w.AutoCompleteField(label="Search",
        search_controller="/search/dynsearch",
        search_param="name",
        result_name="results",
        only_suggest=True,
        validator=v.Schema(text=v.NotEmpty(strip=True)),
        attrs={'size':20})

Questions:
1) For what use is the hidden field intended?
2) On a validation error, how do I get the child widget (e.g. text)'s
error message to show up by the AutoCompleteField? The only thing I
can come up with is to check for tg_errors at the top of the edit
controller, and flash the error. This doesn't seem right, compared to
how nicely error messages for non-composite fields are displayed...

Help? I feel like I'm missing something obvious :-)

Thanks -- Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to