Appnitro Software Forums » MachForm

Form print

(3 posts)
  • Started 2 months ago by gertduvenage
  • Latest reply from gertduvenage

  1. Is it possable to put a print button on the form, to allow the user to print the form after completion ?

    Posted 2 months ago #
  2. Hi,

    I'm afraid this is not possible yet, but I suggest you activated your form review and let the user print from that page. Maybe you can add a button there, edit your "includes/view-functions.php" and replace the code from line 2384 ~ 2388 from :

    <li id="li_buttons" class="buttons">
    	<input type="hidden" name="id" value="{$form_id}" />
    	<input id="review_back" class="button_text"
    type="submit" name="review_back" value="&laquo; {$lang['back_button']}" />
    	<input id="review_submit" class="button_text"
    type="submit" name="review_submit" value="{$lang['submit_button']}" />
    </li>

    to

    <li id="li_buttons" class="buttons">
    	<input type="hidden" name="id" value="{$form_id}" />
    	<input id="review_back" class="button_text"
    type="submit" name="review_back" value="&laquo; {$lang['back_button']}" />
    	<input id="review_submit" class="button_text"
    type="submit" name="review_submit" value="{$lang['submit_button']}" />
    	<input id="review_print" class="button_text"
    type="button" name="print" value="print me" onclick="javascript:window.print();" />
    </li>
    Posted 2 months ago #
  3. Thank you 'redityo'. Just what I want !!!

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.