2. Form type¶
2.1. Gender type¶
Create a choice type with the gender as choices (male, female).
Parent: | Choice |
---|---|
Name: | gender |
$form->add('fieldName', 'gender')
2.2. Politeness type¶
Create a choice type with the politeness as choices (madam, miss, mister).
Parent: | Choice |
---|---|
Name: | politeness |
$form->add('fieldName', 'politeness')