I am working with this piece of code and it is not firing when I put it in the page I need which is static HTML. It does work if you create a plain HTML page, but it is not working on the page I need.
<form name="CTTPDD" action="https://example.com" method="post" target="_blank"><input type="hidden" value="##.##" name="campaign" /><input name="repeat" type="hidden" value="1"><input type="image" src="image.gif" value="submit" name="submit" /></form>
What could it be?
Please can you help.
Could you give a bit more information? What does "not firing mean"? What is the difference between the test page and the actual page it needs to work on? Can you post a link?
It doesn't go to the link i want it to go to.
That's a shame.
But if you want more help, please try to answer some of those questions I asked.
If you just want a link to another page, a form input is not what you want. In that case, you just want a link. E.g.
<a href="http://example.com">View the Campaign</a>
Thanks. the code need to link through button code for it to work. As there is a value to it it needs to be executed via button HTML.
I can create a link now problem, its just that this is a bit more complex.
OK, what exactly do you need to do with the botton. Could you explain the context fo this button? What information are you passing on, in what way? Are you using PHP, or something similar? Where does this value need to go?
OK, you've seen the code.
The link will go to a for so a user can donate, however the code needs fire the value of the campaign code.
the button code is on a html static page.
Why not simply just change the method from POST to GET?
Have you tried raising a support ticket with ctt.org, as it looks like their code you're using?
Yep, did that and we are looking into it, i just need to think outside the box.
This topic is now closed. New replies are no longer allowed.