Confirmed users
591
edits
(Document user input fields) |
|||
Line 98: | Line 98: | ||
In this case, an <inputfield> can be added for the username. It will let the client show a textfield to the user, the user-visible label is the one provided in the <inputfield label=""> attribute, to allow the ISP to use custom terminology for "username". The result is written into a placeholder %key%, where key is the content of the <inputfield key=""> attribute. The placeholder can then be used in other settings, specifically the IMAP/POP and SMTP username. | In this case, an <inputfield> can be added for the username. It will let the client show a textfield to the user, the user-visible label is the one provided in the <inputfield label=""> attribute, to allow the ISP to use custom terminology for "username". The result is written into a placeholder %key%, where key is the content of the <inputfield key=""> attribute. The placeholder can then be used in other settings, specifically the IMAP/POP and SMTP username. | ||
For example, a <userinput label="Username" key="%USERNAME%">D123456</userinput> would result in a UI like: | For example, a config file entry | ||
<userinput label="Username" key="%USERNAME%">D123456</userinput> | |||
would result in a UI like: | |||
Username: [ ] example: D123456 | Username: [ ] example: D123456 | ||
and cound be used elsewhere in the config file like: | and cound be used elsewhere in the config file like: |