This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:create:functions:buttoncode [04.01.2015 13:06] – [Example: Insert Directly in HTML Code] alexander.ritter | en:create:functions:buttoncode [25.08.2020 11:24] (current) – [Example: Use with Placeholders] sophia.schauer | ||
---|---|---|---|
Line 9: | Line 9: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
Line 15: | Line 17: | ||
**Note:** The function '' | **Note:** The function '' | ||
- | **Note:** After the function has been called up, the automatic insertion of the buttons | + | **Note:** After the function has been called up, buttons |
**Tip:** If you want to reposition the buttons in general, modify the questionnaire layout and use the placeholders '' | **Tip:** If you want to reposition the buttons in general, modify the questionnaire layout and use the placeholders '' | ||
+ | |||
+ | ===== Example: Next button in the middle of the questionnaire page ===== | ||
+ | |||
+ | <code php> | ||
+ | html( | ||
+ | '< | ||
+ | buttonCode(' | ||
+ | '</ | ||
+ | ); | ||
+ | </ | ||
+ | |||
===== Example: Insert Directly in HTML Code ===== | ===== Example: Insert Directly in HTML Code ===== | ||
Line 52: | Line 65: | ||
$buttonNext = buttonCode(' | $buttonNext = buttonCode(' | ||
$buttonBack = buttonCode(' | $buttonBack = buttonCode(' | ||
- | replace(' | + | replace(' |
- | replace(' | + | replace(' |
text(' | text(' | ||
</ | </ |