Loading...
PHP/MySQL | Auto submit php form?
Hello,

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.

For more details: website builder software
.че
this is a russian forum. Many people do not understand you
________
посл. ред. 23.10.2017 в 14:03; всего 1 раз(а); by RUS
JoeClark (23.10.2017 в 13:45)
Hello,

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.

For more details: website builder software


button type="submit" в Вашем случае не будет работать, используйте input type="submit"
пост 2
use onclick function inside another php file for calling that
судя по первому посту переводчик лучший друг ?
Array(php) (29.10.2017 в 13:51)
судя по первому посту переводчик лучший друг ?

судя по 7-му посту, полезность ваших постов и действий на этом сайте - 0
Онлайн: 1
Время:
Gen. 0.0856
(c) Bym.Guru 2010-2025