Question : using a hidden form with .hta script

Dear all,

I am trying to use Html Applications (hta) for my app but I am having problem with hidden form fields - just forms.

From what I understan, hta doesn't recorgnize forms.

So, my issue is how to rewrite these bits to work with my code:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<form name="caseForm">
<input id="POSTBACK" type="hidden" name="POSTBACK" value="NEWCASE" />

    <select name="clientid" style='display:inline;width:257;position:absolute;Clip:rect(auto auto auto 227px);' onchange="getInfo(this, this.form.txtServer);">
    <option value="0">Choose client</option>
<%
Set RS = Conn.Execute("SELECT ClientID, ClientName FROM Clients ORDER BY ClientName")
Do Until RS.EOF %>
    <option value="<%=rs(0)%>"><%=rs(1)%></option>
<%
RS.MoveNext
Loop
RS.Close
%>
</select>


Then when I tried to call it with the following:

1:
2:
3:
If POSTBACK.value = "NEWCASE" Then
...
...
,

I get following error:

Object required: "POSTBACK"

Is there a workaround that anyone knows of when working with hta and hidden form fields?

Thanks a lot in advance

Answer : using a hidden form with .hta script

Found another PHP error in the apache log
PHP Warning:  JFactory::require_once() [<a href='function.JFactory-require-once'>
function.JFactory-require-once</a>]: SAFE MODE Restriction in effect.  
The script whose uid is 0 is not allowed to access /var/www/vhosts/mysite.com/httpdocs/libraries/joomla/config.php owned by uid 10005 in /var/www/vhosts/mysite.com/httpdocs/libraries/joomla/factory.php on line 474

FIXED problem by un-ticking safe mode in the web sites setup hosting control panel.
Random Solutions  
 
programming4us programming4us