Title: Custom Send Button
Last modified: August 30, 2016

---

# Custom Send Button

 *  Resolved [Nemesis_](https://wordpress.org/support/users/nemesis_/)
 * (@nemesis_)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/)
 * I recently downloaded your plugin for some neat custom buttons,
    but I stumbled
   upon 1 problem. I also have a form-send-to-email plugin, but this plugin uses
   another (a default) button. Now I want to change it to the awesome MaxButton 
   button so all the buttons on the website are the same, but it needs a specific
   CSS code. The form-plugin allows customization of the button.
 * I tried a lot but wasn’t able to find the CSS resource for the buttons.
 * This is the plugin I use: nl.wordpress.org/plugins/contact-form-to-email/
    This
   is the specific page with the ugly button: [http://aspatec.eu/offerteformulier2/](http://aspatec.eu/offerteformulier2/)
 * Lets hope it can be fixed

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/#post-6716416)
 * Hi,
 * I have checked the plugin but I didn’t really see any easy way to replace the
   button over there. You’ll need to find a plugin which supports adding a button
   by shortcode, or at least something more dynamic.
 *  Thread Starter [Nemesis_](https://wordpress.org/support/users/nemesis_/)
 * (@nemesis_)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/#post-6716426)
 * The plugin says in the settings it allows custom button modification using CSS
 * ‘For further modifications the submit button is located at the end of the file“
   cp-public-int.inc.php”.’
 * And this plugin is the best I could find so far with button customization with
   e-mail sending forms.
 * It might not be easy, but thats okay with me, I just need to make it work.
 * Thanks anyway
 * This is the file where the customization can be done:
 *     ```
       <?php if ( !defined('CP_AUTH_INCLUDE') ) { echo 'Direct access not allowed.'; exit; } ?>
   
       </p>
   
       <link href="<?php echo plugins_url('css/stylepublic.css', __FILE__); ?>" type="text/css" rel="stylesheet" />
   
       <link href="<?php echo plugins_url('css/cupertino/jquery-ui-1.8.20.custom.css', __FILE__); ?>" type="text/css" rel="stylesheet" />
   
       <form class="cpp_form" name="<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>" id="<?php echo $this->prefix; ?>_pform<?php echo '_'.$this->print_counter; ?>" action="<?php $this->get_site_url(); ?>" method="post" enctype="multipart/form-data" onsubmit="return <?php echo $this->prefix; ?>_pform_doValidate<?php echo '_'.$this->print_counter; ?>(this);"><input type="hidden" name="cp_pform_psequence" value="<?php echo '_'.$this->print_counter; ?>" /><input type="hidden" name="<?php echo $this->prefix; ?>_pform_process" value="1" /><input type="hidden" name="<?php echo $this->prefix; ?>_id" value="<?php echo $this->item; ?>" /><input type="hidden" name="cp_ref_page" value="<?php esc_attr($this->get_site_url()); ?>" /><input type="hidden" name="form_structure<?php echo '_'.$this->print_counter; ?>" id="form_structure<?php echo '_'.$this->print_counter; ?>" size="180" value="<?php echo str_replace('"','&quot;',str_replace("\r","",str_replace("\n","",esc_attr($this->cleanJSON($this->translate_json($this->get_option('form_structure', CP_CFEMAIL_DEFAULT_form_structure))))))); ?>" />
   
       <div id="fbuilder">    
   
           <div id="fbuilder<?php echo '_'.$this->print_counter; ?>">
   
               <div id="formheader<?php echo '_'.$this->print_counter; ?>"></div>
   
               <div id="fieldlist<?php echo '_'.$this->print_counter; ?>"></div>
   
           </div>
   
       </div>    
   
       <div id="cpcaptchalayer<?php echo '_'.$this->print_counter; ?>" class="cpcaptchalayer">
   
       <?php if ($this->get_option('cv_enable_captcha', CP_CFEMAIL_DEFAULT_cv_enable_captcha) != 'false') { ?>
   
         <?php _e("Security Code",'contact-form-to-email'); ?>:<br />
   
         <img src="<?php echo $this->get_site_url().'/?'.$this->prefix.'_captcha=captcha&ps=_'.$this->print_counter.'&inAdmin=1&width='.$this->get_option('cv_width', CP_CFEMAIL_DEFAULT_cv_width).'&height='.$this->get_option('cv_height', CP_CFEMAIL_DEFAULT_cv_height).'&letter_count='.$this->get_option('cv_chars', CP_CFEMAIL_DEFAULT_cv_chars).'&min_size='.$this->get_option('cv_min_font_size', CP_CFEMAIL_DEFAULT_cv_min_font_size).'&max_size='.$this->get_option('cv_max_font_size', CP_CFEMAIL_DEFAULT_cv_max_font_size).'&noise='.$this->get_option('cv_noise', CP_CFEMAIL_DEFAULT_cv_noise).'&noiselength='.$this->get_option('cv_noise_length', CP_CFEMAIL_DEFAULT_cv_noise_length).'&bcolor='.$this->get_option('cv_background', CP_CFEMAIL_DEFAULT_cv_background).'&border='.$this->get_option('cv_border', CP_CFEMAIL_DEFAULT_cv_border).'&font='.$this->get_option('cv_font', CP_CFEMAIL_DEFAULT_cv_font); ?>"  id="captchaimg<?php echo '_'.$this->print_counter; ?>" alt="security code" border="0"  />
   
         <br /><?php _e("Please enter the security code",'contact-form-to-email'); ?>:<br />
   
         <div class="dfield"><input type="text" size="20" name="hdcaptcha_<?php echo $this->prefix; ?>_post" id="hdcaptcha_<?php echo $this->prefix; ?>_post<?php echo '_'.$this->print_counter; ?>" value="" />
   
         <div class="cpefb_error message" id="hdcaptcha_error<?php echo '_'.$this->print_counter; ?>" generated="true" style="display:none;position: absolute; left: 0px; top: 25px;"><?php echo esc_attr(__($this->get_option('cv_text_enter_valid_captcha', CP_CFEMAIL_DEFAULT_cv_text_enter_valid_captcha),'contact-form-to-email')); ?></div>
   
         </div><br />  
   
       <?php } ?>
   
       </div>
   
       <div id="cp_subbtn<?php echo '_'.$this->print_counter; ?>" class="cp_subbtn"><?php _e($button_label); ?></div>
   
       </form>
       ```
   
 *  Plugin Author [Bas Schuiling](https://wordpress.org/support/users/basszje/)
 * (@basszje)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/#post-6716454)
 * They say it’s possible to change the CSS, but a button is more than that and 
   I see no way in that mess to nicely change the button other than programming 
   something manually. You can ask their support to change this in future releases
   or so.
 *  Thread Starter [Nemesis_](https://wordpress.org/support/users/nemesis_/)
 * (@nemesis_)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/#post-6716456)
 * Oh okay, thank you for your answer.
    I’ll try to contact their support.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom Send Button’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Nemesis_](https://wordpress.org/support/users/nemesis_/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/custom-send-button/#post-6716456)
 * Status: resolved