Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Fill web form from URL

Posted by: Samsmith Dec 16 2018, 05:31 AM

I want to create an Apple Siri Shortcut to directly access to a page with a simple web form that have a date input.

This is the page:
http://comor.aireuropa.com/es/comor_brief_listbrief_sgt.html

By checking the source code, I’ve managed to pre-fill the text input by adding p_nomchk= in the url, but I didn’t manage what to put after that to pre-fill the date.

Does anyone knows what to use?

Posted by: Christian J Dec 16 2018, 09:16 AM

QUOTE(Samsmith @ Dec 16 2018, 11:31 AM) *

I want to create an Apple Siri Shortcut to directly access to a page with a simple web form that have a date input.

Do you want to open a web page (with Siri), where the URL's querystring will fill in the form fields automatically? That might be possible, assuming that the script generating the form field values allow it, of course.

QUOTE
This is the page:
http://comor.aireuropa.com/es/comor_brief_listbrief_sgt.html

The code is alas hard to understand since it uses Spanish language.

QUOTE
By checking the source code, I’ve managed to pre-fill the text input by adding p_nomchk= in the url,

You mean here:

QUOTE
CODE
<button name="lov" class="Btn" value="Lov" width="17" height="17" id="lov_trip" onclick="f_lov('p_numper$p_nomchk$p_nombre$p_priape$p_secape','../catering/1/es/comor_brief/lov/pkg_comor_brief_informe.xml$lov_tripu.html','FoDatos','p_codtcp$p_sobrecargo$p_numper','1','20'); return false;" disabled="true">

?

QUOTE
but I didn’t manage what to put after that to pre-fill the date.

When I open the page the date is pre-filled already, but not the two other fields. unsure.gif




Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)