Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all articles
Browse latest Browse all 16286

Properly way to do click button only by script which will submit URL-Encoded Data (HTTP Post) to PHP

$
0
0

Hi, i`m trying to do own click event to POST data to submit.php file by HTTP.

I have got script line which is not working properly:
event.target.submitForm({cURL:"http://www.sample.com/submit.php",cSubmitAs:"URL-Encoded Data (HTTP Post)",cCharset:"utf-8"});

It`s submiting empty document.

Im not sure about that phrase: cSubmitAs:"URL-Encoded Data (HTTP Post)". I know there are ways to do it like: "PDF","HTML","XML", but i don`t see any option to do it in "URL-Encoded Data" way. Is that syntax is correct?

Thx


Viewing all articles
Browse latest Browse all 16286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>