CodeLobster IDE
http://codelobster.com/forum/

Auto submit php form?
http://codelobster.com/forum/viewtopic.php?f=2&t=24020
Page 1 of 1

Author:  blackcats [ Thu Nov 02, 2017 11:34 am ]
Post subject:  Auto submit php form?

I have a php file that is basically a submission form. I want it to submit itself automatically. My problem, is that it seems that if I substitute the submit input field name by, for example, btnsubmit (so the submit function won't be invalid), a simple document.getElementById("myForm").submit() doesn't complete the job (since it's called inside another php file). It seems that the calling file requires the submit field name and value.

I'm a little bit confuse on how to make this work.

Any help is welcomed.

Author:  Admin [ Fri Nov 03, 2017 7:03 am ]
Post subject:  Re: Auto submit php form?

Hi.

We will try to help if You provide us with your source code.

Thanks,
Codelobster Team.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/