1 Answers

Answer: Option 2

The method getInputHtml(0 accepts two arguments: $name and $value. $name is the name you should assign your HTML input’s name= attribute, and $value is the field’s current value (either from the DB, or the POST data if there was a validation error).

4 views

Related Questions