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
additinal save button
Started 14 years ago by grimdesigns | 2 posts |
-
I tried to add a save link (text) in the entry box on the edit_entry.php page but I'm having a problem making it save the form. I needed to add it because the form is very long and if the change was made towards the top, I want the user to be able to save it without scrolling so much.
My code looks like this
- Save 1Form
I will make the name of the form dynamic later but for now, I know I am working with form_1 so it's okay.
Any suggestions/help would be appreciated.
Posted 14 years ago # -
It would be difficult to put the additional submit button into the box of entry options.
However, it is possible to add the additional submit button into the top right corner of your form.Simply edit your "includes/view-functions.php" file, search around line 2184 for this code:
{$all_element_markup} {$custom_element} {$button_markup}
right above that code, add the submit button, like this:
<li><input id="saveForm2" class="button_text" type="submit" name="submit" value="Save Changes" style="float: right" /></li> {$all_element_markup} {$custom_element} {$button_markup}
MachForm Founder
Posted 14 years ago #
Reply
You must log in to post.