This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
devzone:giftbox:changing_a_form_element [2012/11/30 15:21] Roel |
devzone:giftbox:changing_a_form_element [2020/03/12 12:06] (current) |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| We will change the studynumber field from editable to non-editable, so you need to change a respondent details textbox.\\ | We will change the studynumber field from editable to non-editable, so you need to change a respondent details textbox.\\ | ||
| - | First create your own respondent controller if you have not yet done so (see [[devzone:howto|howto]]).\\ | + | First create your own respondent controller if you have not yet done so (see [[devzone:howto:start|howto]]).\\ |
| There is only one function you need to overrule: the addFormElements function. \\ | There is only one function you need to overrule: the addFormElements function. \\ | ||
| First the parent class is used to create your form, then it gets the tab on which your element sits, and adds the same element again as Exhibitor element: | First the parent class is used to create your form, then it gets the tab on which your element sits, and adds the same element again as Exhibitor element: | ||