Appnitro Software Forums » MachForm

Help with Review Form Screen

(5 posts)

  1. epsd
    Member

    After a form is filled out, and you go to the review your entry page, how can I replace the text:
    "Review Your Entry

    Please review your entry below. Click Submit button to finish."

    with the title and description of the form? Thanks!!

    Posted 3 months ago #
  2. Open the file includes/language.php

    Go to lines 68-69 (approx)- with an editor like Notepad++ it has the line numbering - or use something like Expression Web or Dreamweaver - they should have line number too. Else search within the document for the message "Review Your Entry"

    Change the text between the quotes 'Review your Entry' and "Please review your entry below. Click Submit button to finish'

    $lang['review_title'] = 'Review Your Entry';
    $lang['review_message'] ='Please review your entry below. Click Submit button to finish.';

    Save this file and republish to the same folder on your server. Do a test submission to check the changes hold.

    Posted 3 months ago #
  3. epsd
    Member

    I am looking to have the title and description of the form on the review screen... Not just change the text...

    Posted 3 months ago #
  4. Hi,

    I think it can be done by using session variable, so you have to modifty 2 files in machform then :

    1. "includes/view-functions.php"
    2. "includes/languages.php"

    in "includes/view-functions.php" you can add these code in line 1575

    $_SESSION['form_name'] = $form->name;
    $_SESSION['form_description'] = $form->description;

    and in "includes/languages.php" like AMurray said you can replace the code on line 68~69 with this :

    //form review
    $lang['review_title']		=	$_SESSION['form_name'];
    $lang['review_message']		=	$_SESSION['form_description'];
    Posted 3 months ago #
  5. epsd
    Member

    Thanks, it works very well.

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.