This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Help with Review Form Screen
Started 16 years ago by epsd | 5 posts |
-
After a form is filled out, and you go to the review your entry page, how can I replace the text:
"Review Your EntryPlease review your entry below. Click Submit button to finish."
with the title and description of the form? Thanks!!
Posted 16 years ago # -
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 16 years ago # -
I am looking to have the title and description of the form on the review screen... Not just change the text...
Posted 16 years ago # -
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'];
MachForm Support
Posted 16 years ago # -
Thanks, it works very well.
Posted 16 years ago #
Reply
You must log in to post.