My app aims to make a golf booking via a booking page on my golf club website. I have so far programmed the log in and loaded the required booking page (into a webview) which has rows of time slots for 4 players. The html source for each row is something like:
When the user clicks on the Book Now button a further page is loaded in which he selected the player names. Should I be able to use WebViewExtras1.executeJavascript with a suitable javascript (which I'm not very familiar with) to simulate pressing the Book Now button or is there some other way of doing this?
Thanks.
B4X:
<tr>
<td class="t_h" align="center">16:30</td>
<td class=t_s align=center>18<span title="Start">S</span></td>
<td class="t_s">MENS SEMI OPEN 13 HOLES FOURBALL</td>
<td class="R6">Competition</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="teeCell" >
<form method="POST" action="members_booking.php?operation=member_booking_form" onSubmit="return ValidateMemberBookNow(this)">
<input name="double_click" type="hidden">
<input name="course_id" type="hidden" value="3">
<input name="d_date" type="hidden" value="2019-03-06">
<input name="TeeTime" type="hidden" value="16:30:00">
<input name="SubmitButton" type="submit" value="Book Now">
</form>
</td>
</tr>
<tr>
When the user clicks on the Book Now button a further page is loaded in which he selected the player names. Should I be able to use WebViewExtras1.executeJavascript with a suitable javascript (which I'm not very familiar with) to simulate pressing the Book Now button or is there some other way of doing this?
Thanks.