Can you change this, please?
Sample code:
Code: Select all
// Drop-down: Boolean
$formDropDown = <<<>>>
<!-- Drop-down: Boolean -->
<div style="position:absolute;left:10px;top:48px;width:50px;height:16px">
<span style="font-family:Arial;font-size:13px;">SD:</span></div>
<select name="drop_down" size="1" style="position:absolute;left:70px;top:46px;width:150px;height:22px;" tabindex="2">
<option value="true">true</option>
<option value="false">false</option>
</select>
>>>;
// The HTML form
$form = <<<>>>
<html>
<head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>
<title>Select oldest/newest file(s)</title>
<body>
<div style="position:absolute;width:502px;height:150px;">
<form method="get" action="xys:">
<!-- Vertical space: 35px -->
<!-- Input: Number -->
<div style="position:absolute;left:10px;top:13px;width:96px;height:16px">
<span style="font-family:Arial;font-size:13px;">Number:</span></div>
<input type="text" name="number" id="id_Number" value="1" style="position:absolute;left:70px;top:11px;width:391px;height:22px;line-height:18px;" tabindex="1">
<!-- Drop-down: Boolean -->
$formDropDown
<!-- OK button -->
<input type="submit" name="ok" value="OK" style="position:absolute;left:140px;top:185px;width:96px;height:25px" tabindex="3">
</form>
</div>
<script type="text/javascript">
var inputPattern = document.getElementById("id_Number");
inputPattern.focus();
inputPattern.select();
</script>
</body>
</html>
>>>;
// Decode the HTMLs return string
text urldecode(html($form, 575, 340, "Test"));
02. Tab to the drop-down field, hit enter, return value is empty