The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Fill web form from URL, Help with URL address to pre-fill web form
Samsmith
post Dec 16 2018, 05:31 AM
Post #1





Group: Members
Posts: 2
Joined: 16-December 18
Member No.: 26,774



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 16 2018, 09:16 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



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

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



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 11:06 AM