Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Required dropdown field in form vs. ajax

[FIXED] Required dropdown field in form vs. ajax 17 Sep 2012 18:30 #3707

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Is it possible that it doesn't not work anymore with v2.0 ?
The administrator has disabled public write access.

Re: Required dropdown field in form vs. ajax 25 Sep 2012 07:30 #3969

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
+1

My AJAX dropdown no longer appears on the form in version 2.0 either. Here's the source HTML output of the form:
<dd>
<div id="_ajax_countries_groupby1"></div>
  <input type="hidden" value="" class="inputbox " name="jform[region]" id="jform_region">	    
</dd>
Please note the type attribute set to "hidden" - is this correct?

I seem to have just the usual "jQuery Validation rules not available..." and the "...add localisation files..." errors in console the same as those described here.

Please help!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 25 Sep 2012 07:31 by JoomGuy.
The administrator has disabled public write access.

Re: Required dropdown field in form vs. ajax 25 Sep 2012 12:59 #3975

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Despite facing the same difficulties as the original post here, there seems to be no issue in using the ajax filtering (even if required) when project :cheer: is setup from scratch using;
  1. JQuery as JS Framework
  2. Cook V2.0

hope this helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: Required dropdown field in form vs. ajax 25 Sep 2012 17:05 #3982

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
VeCrea, are you on 2.0 ?

About the hidden field, it is normal. Everything is loaded trough javascript.
The hidden field is containing the value to post.

Unfortunatly, with the new jQuery validator, the hidden fields are ignored. And this is really annoying.
I try to do my best, but it is not easy. I still do not know how to fix that for the moment.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Required dropdown field in form vs. ajax 26 Sep 2012 11:18 #4011

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: VeCrea

Re: Required dropdown field in form vs. ajax 26 Sep 2012 16:16 #4034

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Works on early tests. Will go on and tell you how it works out
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started