Module CustomFields Dev: Difference between revisions

Jump to navigation Jump to search
Line 351: Line 351:
So you don't have to bother how your data will be presented to the user nor how it will be processed.
So you don't have to bother how your data will be presented to the user nor how it will be processed.


=== Printing an input form adapted to the field's data type ===
==== Printing an input form adapted to the field's data type ====


showInputField() is a sort of converter customfieldstructure -> HTML input field.
showInputField() is a sort of converter customfieldstructure -> HTML input field.
Line 386: Line 386:
</source>
</source>


=== Printing an input form for a custom field ===
==== Printing an input form for a custom field ====


showInputForm() is a function used to print a single (and only one!) custom field with an adapted HTML input field, but enclosed by a HTML form. This is used for example when you want to allow to edit a single custom field but not the others.
showInputForm() is a function used to print a single (and only one!) custom field with an adapted HTML input field, but enclosed by a HTML form. This is used for example when you want to allow to edit a single custom field but not the others.
439

edits

Navigation menu