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
submit button
Started 16 years ago by katya | 7 posts |
-
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.
Posted 16 years ago # -
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';
MachForm Support
Posted 16 years ago # -
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.
Posted 16 years ago # -
How can change style of that button?
Posted 15 years ago # -
You can edit your CSS form and search for this style
/**** Buttons ****/ #main_body input.button_text { overflow:visible; padding:0 7px; width:auto; }
MachForm Support
Posted 15 years ago # -
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.
Posted 15 years ago # -
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.
MachForm Support
Posted 15 years ago #
Reply
You must log in to post.