ckroon
Posts: 869
|
| Posted: 06/18/2010, 1:36 PM |
|
Hi all..
On Listbox of search form I have a Client On Change event code.
Expression: "document.myform.submit()"
Form: NewRecord1
User selects from a listbox and it autosubmits the form..works great...
Only issue is the Search button. I want to get rid of it.. but if I remove the search button, the code stops working.
Any ideas?
_________________
Walter Kempees...you are dearly missed. |
 |
 |
magus
Posts: 98
|
| Posted: 06/18/2010, 9:29 PM |
|
Hi ckroon,
May be you can set the button's display property to none.
style="display: none;"
Maybe you could also try disabling it.
disabled="disabled"
Regards,
Don A
|
 |
 |
ckroon
Posts: 869
|
| Posted: 06/18/2010, 9:59 PM |
|
Thanks Magus.
I did that already.. it just seemed cheesy :)
I was hoping to get rid of it entirely.
I guess this will work unless someone knows why the Search button has to be there....
_________________
Walter Kempees...you are dearly missed. |
 |
 |
magus
Posts: 98
|
| Posted: 06/18/2010, 11:34 PM |
|
Hi ckroon,
Perhaps you could try deleting the button from the html template after it has been published to your server?
Regards,
Don
|
 |
 |
Waspman
Posts: 948
|
| Posted: 06/19/2010, 7:46 AM |
|
try it another way:
window.location.href = "pagename.php?paramID=" + this.value
I do this all the time and you take off the button...T
_________________
http://www.waspmedia.co.uk |
 |
 |