CSS for email form (2 posts)

  1. mi327
    Posted 2 years ago #

    I'm having issues connecting email entries to my salsa account and changing the style of the form. My organization just opened a salsa account and we'd like to incorporate it into our website.

    First, there is no confirmation that the email went through. I added text and html links to the widget in the "After Saving The Form" section, but when I test the form I am redirected to my blog page after hitting submit. What do I have to do to have a "thank you for submitting" note?

    Second, there is no validation that the text submitted was an email or not. How can I make sure that I receive a valid email with a "@" and "."?

    Third, Where is the css for this form so that I can change it?
    Is it the php I need to look at? Where is the php for the form so that I can change this?
    I'm trying to change the look of the email submission form so that it says "Enter Email" in the gray box as opposed to outside of it. I would also like to elongate the text box where people enter their email.


  2. mojowen
    Plugin Author

    Posted 2 years ago #

    Ok to answer your questions the best I can:

    • Redirection if you've got a redirect set up on that Salsa form - SalsaPress will automatically redirect the user after successfully completing the form. There could be better documention but folks wanted the ability to use a redirect - just remove the redirect and it'll show you the after submit html
    • Validation SalsaPress uses Salsa's validation, which does verify if an email is an email. This appears to work even with the redirect.
    • Overriding CSS I would strong advise against modifying the plugin's CSS (it's in wp-content/plugins/salsa-press/utils/SalsaPress.css). Every time the plugin upgrades - it'll overwrite your changes. Just override it with styles that are included in your own theme files.

    Finally finally finally (And this is less for you mi327 and more for anyone else who may read this) PLEASE add questions / issues to Github.

    WordPress does not email me when your post and it can be months or weeks or maybe even years before I check this forum. It's tragic.

    Be less tragic: use github issues. I even have the same thumbnail for my comments - it'll feel just like home.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SalsaPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic