Oh, that sounds like a great way to handle it. Thank you!
On Aug 17, 10:10 am, Alex Robbins
wrote:
> Maybe the ChoiceField should just be a CharField that just uses the
> Select widget class? That way it won't have choices hardcoded into the
> field validation. Your clean method could check that
Maybe the ChoiceField should just be a CharField that just uses the
Select widget class? That way it won't have choices hardcoded into the
field validation. Your clean method could check that the domain is
valid.
Alex
On Aug 16, 1:39 pm, ringemup wrote:
> I have a domain search form with two fiel
I have a domain search form with two fields: a Textarea for inputting
a list of domains to check, and a ChoiceField for selecting a domain
based on suggestions.
The ChoiceField is required, and on the first submission is auto-
populated with suggestions based on the domains listed in the
textarea.
3 matches
Mail list logo