If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting:
joodb.feenders.de/support.html
searchfield - reset not working
- mandalas.hotmail.co
- Topic Author
- Offline
Less
More
- Posts: 10
- Thank you received: 0
10 years 7 months ago #3648
by mandalas.hotmail.co
searchfield - reset not working was created by mandalas.hotmail.co
I've inserted two searchfields into my form but they won't clear on reset. Not with an additional reset button either.
Also, do you have the html for the example for searchfield in documentation? (see screenshot)
This is exactly what I need but I can't figure out how to combine searchfield and fieldlist.
Also, do you have the html for the example for searchfield in documentation? (see screenshot)
This is exactly what I need but I can't figure out how to combine searchfield and fieldlist.
Please Log in to join the conversation.
- d.hoeschen
-
- Offline
Less
More
- Posts: 1222
- Thank you received: 226
10 years 7 months ago #3649
by d.hoeschen
Replied by d.hoeschen on topic searchfield - reset not working
Here is the default code for the reset button.
As you see. Clicking the button does not empty the values instead it sets the task to "reset" and send the form.
But there seems to be problem with jQuery 1.6 and the .prop() function.
Can you please replace the files in
/components/com_joodb/views/catalog/tmpl
with the file in the attached zip?
Code:
<input class="button btn reset" value="reset..."
onmousedown="submitSearch('reset');void(0);" type="submit" />
As you see. Clicking the button does not empty the values instead it sets the task to "reset" and send the form.
But there seems to be problem with jQuery 1.6 and the .prop() function.
Can you please replace the files in
/components/com_joodb/views/catalog/tmpl
with the file in the attached zip?
Attachment haefb372.zip not found
Please Log in to join the conversation.
- mandalas.hotmail.co
- Topic Author
- Offline
Less
More
- Posts: 10
- Thank you received: 0
10 years 7 months ago - 10 years 7 months ago #3650
by mandalas.hotmail.co
Replied by mandalas.hotmail.co on topic searchfield - reset not working
I did replace the files and the reset works now. All fields are being emptied. Thank you
Last edit: 10 years 7 months ago by mandalas.hotmail.co. Reason: Initial problem temporarily resolved
Please Log in to join the conversation.
Moderators: d.hoeschen, joest
