Support » Plugin: Contact Form 7 » Form not sent – failure warning

  • Resolved rabox66

    (@rabox66)


    Hi,
    on a website I am using CF7 do submit a form that is dynamically created. It goes like this:

    1) The plugin Ninja Tables creates a table.

    2) The content of the first table cell is stored in a jquery variable.

    3) In the CF7-Form I have a paragraph that works like a placeholder. It is substituted by jQuery and instead of the placeholder, the value of the variable is inserted.

    That works very fine and the form looks quite good. The placeholder is substituted by the value of the variable and everything is fine. The problems start to occur, whenever I want to send the form. Then I receive a failure warning.

    I do not have jet tried to transmit the content of the variable. At this very moment, it is just displayed in the form, but not transmitted. Later on, I would like to transmit it. But before I find out how to do this, I will have to see why the mistake appears, when I try to send it.

    Thanks for any ideas. I do not need a full workaround for the problem. Just some hints might be enough to go on developing.

    Thank you!
    rabox

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • rabox66

    (@rabox66)

    UPDATE:
    I resolved the problem myself, I had a mistake in my code. But nevertheless, another problem stays:

    In the email created, I have a <span> that should be changed dynamically. It goes like this: <span class ="placeholder">PLACEHOLDER</span>

    In my jQuery code, I have a variable var col. The value of that variable is created dynamically. The <span> should be substituted with the value of the variable. That works very well in the form like this:
    $(".placeholder").text(col);

    But it does NOT work in the email sent. So I suppose, I will have to execute jquery on the email. How can I do that?

    Thanks
    Raphael

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.