I am trying to create a form with Symphony but I have a problem with the repetitive field < Pre> If a place is just one word in first_name or second_name but I have no problem or a point I have this error: For both fields use - & gt; Add ('password', 'repeated', array ('type' = & gt; 'password', 'first_name' => $ translator- & gt; trans ('global.password'), 'second_name' = & Gt; $ translator- & gt; trans ('register.confirm'))
The name "register.confirm" contains invalid characters. The name must start with a letter, number, or underscore and it only contains letters, numbers, numbers, under Scores ("_"), hyphen ("-") and colon (":") are included. Labels are not labeled for = "text">
first_name and
second_name fields. These are the names of the area and letters, numbers, numbers, underscores ("_"), hyphen ("-") and colon (":") Nothing should be left except For more information, see the isValidName method source code:
first_pop and
other options / to label to determine.
- & gt; Add ('password', 'repeated', array ('type' = & gt; 'password', 'first_points' = & gt; array ('label' = & gt; $ translation (& quot; transport; & quot; Trans ('global.password')), 'second_points' = & gt; array ('label' = & gt; $ translator- & gt; trans ('register.confirm')))
No comments:
Post a Comment