Code Monkey home page Code Monkey logo

Comments (3)

zachzurn avatar zachzurn commented on September 24, 2024

You have to use the success class on the form to show a message. For example, form.success span.success{ display:block; }

from mailchimp-ajax-signup-php.

oitsuki avatar oitsuki commented on September 24, 2024

Ok thank you :
I tried two things :

<style> 
form.success{ display:block; }
span.success{ display:block; }
</style>
<form name="mailchimp" action="http://....../subscribe.php" method="post" class="success" novalidate="" data-mailchimp="0eba279fdf" data-redirect="http://...../index.php">

and <span class="success"></span>
but nothing appear (I see in mailchimp the email, it works), but the message when I have no email or wrong email work fine. forgot something ?

I noted also for example that data-redirect="'. OSCOM::link('index.php?Info&Contact') .'" does'nt work. maybe the problem is here ?

from mailchimp-ajax-signup-php.

zachzurn avatar zachzurn commented on September 24, 2024

This is more how your style should look.

<style> form.success span.success{ display:block; } form span.success{ display:none; } </style>

from mailchimp-ajax-signup-php.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.