Hello,
I am working on Scribus 1.5.0. (Build ID: C-C-T-F-C1.14.2-64bit) on Ubuntu 15.04.
A PDF form has 'submit' button with URL pointing to some webserver that I can control. No matter which "Submit format" I use in configuration of the button properties, it always send data to server in FDF format. I can see it by running
sudo tcpdump -nl -w - -i eth0 -c 500 port 80 | strings
on web server to get something similar to
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
POST /~simon.baev/FDF/index.php HTTP/1.1
Host: stapps.gswcm.net
Connection: keep-alive
Content-Length: 963
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Origin: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai
Accept: */*
DNT: 1
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8,ru;q=0.6
%FDF-1.2
1 0 obj
<</FDF<</F<</Type/Filespec/F(file:///home/gswcm/Projects/Temp/FACE_submit.pdf)/UF(file:///home/gswcm/Projects/Temp/FACE_submit.pdf)>>/Fields[<</T(first_name)/V(Simon)>><</T(dob)/V<>>><</T(today)/V<>>><</T(last_name)/V(Baev)>><</T(email)/V<>>><</T(cell_number)/V<>>><</T(local_address)/V<>>><</T(home_country)/V<>>><</T(citizenship)/V<>>><</T(area_of_study)/V<>>><</T(graduation_date)/V<>>><</T(spouse_name)/V<>>><</T(children_name)/V<>>><</T(how_long_in_USA)/V<>>><</T(languages)/V<>>><</T(diet)/V<>>><</T(gender_m)/V/Off>><</T(gender_f)/V/Off>><</T(smoker_yes)/V/Off>><</T(smoker_no)/V/smoker_no>><</T(like_children_yes)/V/Off>><</T(like_children_no)/V/Off>><</T(like_pets_yes)/V/Off>><</T(like_pets_no)/V/Off>><</T(pet_preferences)/V<>>><</T(allergies)/V<>>><</T(hobbies)/V<>>><</T(like_face)/V<>>><</T(like_americus)/V<>>><</T(children_preference)/V<FEFF002D002D>>><</T(place_to_visit)/V<>>>]>>>>
endobj
trailer
<</Root 1 0 R>>
%%EOF
HTTP/1.1 200 OK
Date: Tue, 25 Aug 2015 02:39:10 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.11
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
^C12 packets captured
12 packets received by filter
0 packets dropped by kernel
It doesn't matter which "Submit format" is specified prior exporting Scribus project into PDF it always sends FDF data.
I double checked that changing "Submit format" is Scribus project is reflected in *.sla file in the value of ANHTML parameter which takes values 0,1,2,3 depending on which option was chosen. The exported PDF files are identical no matter which option was used in Scribus project prior exporting.
--
Simon
PS: I'm using Google Chrome to fill in PDF form and make the submission since builtin PDF viewer (Atril) does not support form submission.