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 14:29] – [Tips] alexander.ritter | en:create:functions:buttoncode [25.08.2020 11:24] (current) – [Example: Use with Placeholders] sophia.schauer | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| + | * '' | ||
| Line 18: | Line 20: | ||
| **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(' | ||
| </ | </ | ||