CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 7:55 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Auto submit php form?
PostPosted: Thu Nov 02, 2017 11:34 am 
Offline

Joined: Thu Nov 02, 2017 10:45 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Auto submit php form?
PostPosted: Fri Nov 03, 2017 7:03 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

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

Thanks,
Codelobster Team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group