Hanad Posted November 5, 2008 Share Posted November 5, 2008 Hi, I've just been testing the payment process and they're not connecting but redirect to the knowledge base instead. It's got me stumped Does anyone have any ideas what's causing it? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 6, 2008 Share Posted November 6, 2008 You must have a form in your header (login or domain checker) Open forwardpage.tpl and edit document.forms[0].submit() change the "0" to 1 or 2 depending on how many forms are before the gateway redirect 0 Quote Link to comment Share on other sites More sharing options...
Klangaroo Posted November 6, 2008 Share Posted November 6, 2008 you should give your forms a name, and change it to document.forms['formname'].submit(); unless the form you're trying to submit is in a closed source form and you can't edit it. in which case, carry on 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 6, 2008 Share Posted November 6, 2008 you should give your forms a name, and change it todocument.forms['formname'].submit(); That is absolutely correct it should use the name="formnamehere" attribute unless the form you're trying to submit is in a closed source form and you can't edit it. in which case, carry on unless is the fact in this case. That is why I said to use the numbers. The form is produced from the gateway module. The name attribute should be put there (in the module) so then when someone customises their template this problem won't cast its ugly head. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.