

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.
1. |
HOW_MANY_EVENTS_DOES_THE_BASEFIELDTYPE_PROVIDE??$ |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» D. 4 | |
2. |
Which_method_is_called_right_before_a_field_is_saved?$ |
A. | onBeforeSave() |
B. | BeforeSave() |
C. | SaveBefore() |
D. | None of the mentioned |
Answer» B. BeforeSave() | |
3. |
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 |
Answer» C. Data is not stored at all | |
4. |
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 |
Answer» D. Field‚Äö√Ñ√∂‚àö√ë‚àö¬•s probability value | |
5. |
What does the method defineSettings() return? |
A. | Array of settings name |
B. | Array of hash key |
C. | Array of strings |
D. | None of the mentioned |
Answer» B. Array of hash key | |
6. |
What is the purpose of the parameter $name ? |
A. | Document Name |
B. | Input Name |
C. | Output Name |
D. | ID |
Answer» C. Output Name | |
7. |
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() |
Answer» E. | |
8. |
How many arguments does the getInputHtml() accept? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» C. 3 | |
9. |
What does the getInputHtml() return? |
A. | Input |
B. | Fieldtype’s input HTML |
C. | Array |
D. | Value |
Answer» C. Array | |
10. |
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. | All of the mentioned |
Answer» D. All of the mentioned | |