InterviewSolution
Saved Bookmarks
| 1. |
How many arguments does the getInputHtml() accept?(a) 1(b) 2(c) 3(d) 4 |
|
Answer» Right choice is (b) 2 For explanation: The method getInputHtml() returns a fieldtype’s input HTML. The method getInputHtml(0 accepts two arguments: $name and $value. $name is the name you should assign your HTML input name= attribute, and $value is the field’s current value (either from the DB, or the POST data if there was a validation error). |
|