Submit button not sending correct data - html

My HTML submit form sending the wrong information to my destination site. The submit button sends my HTML source code instead of the file I'm selecting in the browse box. Any ideas why that's happening?
Validated all of the source code and there's no problems

Related

HTTP request body to click a button and extract url in SSIS

I'm trying to get the link of csv file automatically using a get http request. I'm not sure what code I have to post to receive the link for the file. The following is the code for the button.
<div class="export-button-wrapper">
<button id="download-city-opp-btn" class="ui secondary button download-opp-btn" onclick="return downloadBidOpportunities('city');" data-segment-category="export data" data-segment-label="export by zip">Export by City</button>
</div>
The way this export process works is on clicking the export by city button it loads for sometime and then creates a hyperlink to the right of the button as seen in the image. I am trying to create a series of http requests to automatically capture the link for the csv file. Any help on this would great! Thanks
If you do right click on the button and there is no direct link to the file it means that the URL is generated at each download.
There is no way to do this through SSIS.
Therefore you need to create a web crawler in C#, Python, PowerShell or whatever to actually click on that button and catch the file.
You can then run that script through SSIS.

Add 'back'/'previous view' button to HTML that will be converted to PDF

I have been asked to add 'TOC' and 'Back' buttons to HTML files which output as PDF using Antenna-House formatter.
The 'TOC' button navigates to the table of contents-this is simple enough to do.
The 'Back' button should navigate to the view prior to clicking the 'TOC' button and it is this I am struggling with.
I can get the back button to work using JavaScript with the HTML file prior to conversion. But JavaScript does not work in the output PDF.
Anything else I use I get an error message 'file not found' or 'unexpected end of line feed'.
The PDF viewer my company has does have back buttons but they are not as easily accessible as a button on the PDF would be.
Is it possible to do this?
You can specify some JavaScript to run when the document opens (see "openaction" in https://www.antennahouse.com/product/ahf66/ahf-ext.html#axf.document-info) and you can specify JavaScript for a form field event (see https://www.antennahouse.com/product/ahf66/ahf-ext.html#form-action).
What the JavaScript can do will depend on the JavaScript capability of the PDF viewer, not on AH Formatter. You may be able to make a one-button form that runs JavaScript that instructs the PDF viewer to return to the previous view, but I've never tried it.

PDF Template - HTML Form - Automatically Send To Email

I was hoping I could get some insight as to how to perform the following on my website;
I have a PDF application that I would like users to be able to fill out and hit 'Submit' to automatically send the filled-out application to my email.
Would it be possible to have an editable pdf on a web page that they fill out on the web page? When they are done they would hit submit and it would send a copy of this filled-out pdf to my email
Would it be possible to have an html form that the user fills out and when they hit submit, it automatically creates a copy of the pdf, fills in the fields using the html form information, and sends it to my email?
I have very little knowledge when it comes to this so any sort of assistance would be helpful.
Thank you!
Would it be possible to have an editable pdf on a web page that they fill out on the web page? When they are done they would hit submit and it would send a copy of this filled-out pdf to my email
I don't know about this.
Would it be possible to have an html form that the user fills out and when they hit submit, it automatically creates a copy of the pdf, fills in the fields using the html form information, and sends it to my email?
I know about this.
You can do this by using mpdf and PHPMailer libraries. I am using them in my projects. I will soon paste here an example.

How to get the download link hidden behind a radio button?

I'm trying to download a csv file from this link. I know from this thread that we need to use the requests library to get the link by first submitting the form, in this case, to let the server know we want the csv file. However, since I'm not familiar with html and the previous example has now an updated page, I wasn't able to figure out how to do this, i.e., what formdata to submit and how to post the form and get the link...Any help is appreciated.

Dynamic behavior in Google forms using AppsScript

I am creating a Google forms page which ends with a file upload button. This file upload button should get enabled once the above existing form items like check box, text field, etc are validated. How can this be achieved using AppsScript in Google Forms? I couldn't file any resource that shows how to validate fields in a form.
The live form can only be static. You can not cause the layout or elements of the live form to change. You can only make changes to the master form and republish the live form.
There is built in validation with forms:
https://support.google.com/docs/answer/3378864?hl=en