Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:create:functions:buttoncode [25.08.2020 11:22] sophia.schaueren:create:functions:buttoncode [25.08.2020 11:24] (current) – [Example: Use with Placeholders] sophia.schauer
Line 65: Line 65:
 $buttonNext = buttonCode('next');  // Saves the HTML code for the  $buttonNext = buttonCode('next');  // Saves the HTML code for the 
 $buttonBack = buttonCode('back');  // buttons in two variables $buttonBack = buttonCode('back');  // buttons in two variables
-replace('%btnNext%', $buttonNext);  // Store for placeholders +replace('%btnNext%', $buttonNext, 'html');  // Store for placeholders 
-replace('%btnBack%', $buttonBack);+replace('%btnBack%', $buttonBack, 'html');
 text('buttons');  // display text in the questionnaire text('buttons');  // display text in the questionnaire
 </code> </code>
en/create/functions/buttoncode.txt · Last modified: 25.08.2020 11:24 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki