822). What is necessary when we need to create a new field in craft?

[A]Type of the input
[B]Type of the output
[C] Type of the field
[D]Type of argument

Show Answer

823). What does the getInputHtml() return?

[A]Input
[B]Fieldtype’s input HTML
[C]Array
[D]Value

Show Answer

824). How many arguments does the getInputHtml() accept?

[A]1
[B]2
[C]3
[D]4

Show Answer

825). Which is the method used to process on the input post data before it is saved to the database?

[A]prep()
[B]settings()
[C]defineSettings()
[D]prepSettings()

Show Answer

826). What is the purpose of the parameter $name ?

[A]Document Name
[B]Input Name
[C] Output Name
[D] ID

Show Answer

827). What does the method defineSettings() return?

[A]Array of settings name
[B]Array of hash key
[C] Array of strings
[D]Array of objects

Show Answer

828). What is the purpose of the parameter $value?

[A]Field’s expected value
[B]Field’s previous value
[C]Field’s current value
[D]Field’s probability value

Show Answer

829). When does the defineContentAttribute() method return a false?

[A]Data stored in different table
[B] Data stored in its own table
[C]Data is not stored at all
[D]Data is not obtained

Show Answer

830). How many events does the BaseFieldType provide?

[A]1
[B]2
[C]3
[D]4

Show Answer

831). Which method is called right before a field is saved?

[A]onBeforeSave()
[B]BeforeSave()
[C]SaveBefore()
[D]onSave()

Show Answer