Group Admins

  • Profile picture of Steve

WordPress Troubleshooting and Support

Public Group active 3 months, 3 weeks ago ago

WordPress support from our community

modifying send e-mail plugin

This topic contains 0 replies, has 3 voices, and was last updated by  Jay 7 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1214

    Jay
    Participant

    i’m using the Send E-mail plugin in the sidebar widget on this site.

    I’d like to edit it so that the “Name (required)” and “E-mail (required)” appears within the actual editable boxes that they correspond to, just like http:// shows in the “Website” field.

    Here’s the code for this plugin.

    please advise how I would go about doing this. php is not my strong suite. thanks!

    or if there’s another Free widget contact form plugin you know of that does this automatically, i’d love to know about it. thanks!

    #1966

    Darin Roman
    Participant

    Jake,

    I’m not sure why you’d do this unless you also wish to remove the labels underneath the fields. This leaves it to your visitors to fully delete or highlight and replace the ‘Name (required)’ and ‘Email (required)’ before sending. Keep in mind, you would loose any changes made to this plugin when updating.

    You should try Contact Form 7. This plugin allows you to easily create customized forms for use throughout your website. You can specify any fields you wish to include, their default values, labels, format the email(s) you will receive, and edit the messages returned to the visitor. You can also add an optional CAPTCHA to avoid spam (Requires: Really Simple CAPTCHA). Each form generates a shortcode that you can place in a page, post or text widget in your sidebar. It also uses AJAX and does not require a page reload when the message is sent.

    It may not seem as easy as simply adding the shortcode provided with ‘Send E-mail’, but I think you’ll find the form editor easy to use and very flexible. Just ask if you need help creating a form.

    Darin

    #1967

    Chris Carvey
    Participant

    This is pretty is easy, all you have to do is assign/hard code the default value of the field itself. Looking at the code really quickly that “http://” may be getting pulled in from a function/variable he assigning behaviors to elsewhere. But this is simple html form stuff.

    I suggest you go even further and use something like this: http://www.jason-palmer.com/2008/08/jquery-plugin-form-field-default-value/

    #1968

    Jay
    Participant

    thanks guys. i ended up using cformsII. does everything i needed and plenty more! http://www.deliciousdays.com/cforms-plugin/

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

You must be logged in to reply to this topic.