I have my form at http://holtmusic.com.au/contact/view.php?id=1
currently the submit button says "Continue" how can I change it to say "Submit"?
any help appreciated.
I have my form at http://holtmusic.com.au/contact/view.php?id=1
currently the submit button says "Continue" how can I change it to say "Submit"?
any help appreciated.
Hi,
You can simply edit "includes/languanges.php" file, try to search these code and make a change to the value :
//form buttons
$lang['submit_button'] = 'Submit';
$lang['continue_button'] = 'Continue';
$lang['back_button'] = 'Back';I expect you have the "Show Review Page before Submitting" feature turned on. That would be one way you're getting "Continue" rather than "Submit button.
If you don't want the review feature turned on, you can un-check the box "Show Review Page..." in the Form properties for that form in the Machform editor.
How can change style of that button?
You can edit your CSS form and search for this style
/**** Buttons ****/
#main_body input.button_text
{
overflow:visible;
padding:0 7px;
width:auto;
}Is there another way to change the Submit button text? For example, if I want the button to say "Submit" on one form and "Go for it" on another.
Hi,
I'm afraid you should edit "view-functions.php", to do so goto around line 1778 ~ 1782 you will find these code :
if(empty($form->review)){
$button_text = $lang['submit_button'];
}else{
$button_text = $lang['continue_button'];
}
you can replace with these code
if(empty($form->review)){
if($form->id == '1')
$button_text = "Submit";
elseif($form->id == '2')
$button_text = "Go for it";
else
$button_text=$lang['submit_button'];
}else{
$button_text = $lang['continue_button'];
}
Those code will print submit button on form 1 as "Submit" and "Go for it" for form 2.
You must log in to post.