Welcome, Guest
Username: Password: Remember me

TOPIC: [CLOSED] V 2.0 jqv:custom rule not found - phone

[CLOSED] V 2.0 jqv:custom rule not found - phone 10 Sep 2012 22:56 #3502

  • madaura
  • madaura's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 3
  • Karma: 0
Hi,

I got a form with a phone field and when submit the form, this error is showed up (jqv:custom rule not found - phone), I have no idea how to deal with it, so I appreciate any help, thanks!
Last Edit: 14 Sep 2012 11:09 by admin.
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 10 Sep 2012 23:11 #3503

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
It is late now, and tomorrow I will be almost off, so you'll get your answer soon.

I saw this one also with time (fixed in local, so maybe ??)

If you want to solve this (or bypass)

A file should be located in models/rules (back-end) named : 'phone.php'
You can have a look on numeric.php, copy, reuse to another class name, and change the regex in it.

The concerned valided field has the property 'validate', to call the php rule, and the class : 'validate[custom[phone]]'. Try to remove these 2 properties to bybass the validation for the moment.

EDIT : These properties are now in the XML jform file (models/forms/xxxxx.xml)
Coding is now a piece of cake
Last Edit: 10 Sep 2012 23:13 by admin.
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 14 Sep 2012 10:42 #3607

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Fixed.

Can you confirm for both versions ?
Coding is now a piece of cake
Last Edit: 14 Sep 2012 10:43 by admin.
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 22 Sep 2012 20:29 #3867

  • madaura
  • madaura's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 3
  • Karma: 0
Sorry admin, I was in other issues,

Nop in V 2.0 is not working, when I try to create a new record in a form with a phone field, the error is displayed, however the record is created with the phone value in case that I fill it out, otherwise its value is 0.

Thanks for your help!
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 27 Sep 2012 08:54 #4052

  • mfr75
  • mfr75's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
hello,
same for me but for image fields
I got the same message : jqv:custom rule not found - file (with file instead)
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 27 Sep 2012 09:01 #4053

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Ok, this is new. I know why.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 27 Sep 2012 09:04 #4054

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
Should be fixed. (blind fix ;-) )
Try again.
Coding is now a piece of cake
Last Edit: 27 Sep 2012 09:05 by admin.
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 28 Sep 2012 11:26 #4128

  • mfr75
  • mfr75's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
i still have ot unfortunately.
i tried on my sandbox.
project : portfolio
version : Joomla2.5
table : portfolio
fiels involved : imgone imgtwo imgthree
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 01 Oct 2012 07:25 #4176

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

@admin @mfr75 - Are you still getting this " jqv:custom rule not found" error?

I'm getting it too. It seems to occur on any custom RegEx validations - is this the same for you too? I mean, are the img1, 2 & 3 fields the only ones you have custom regex on?
________________________

@admin - I'm still getting these errors on my organisations table, fields; telephone & fax, both using the rule telephoneuk which is a valid regex:
^(((\+44)? ?(\(0\))? ?)|(0))( ?[0-9]{3,4}){3}$
******** EDIT ********
JS DEBUGGER reveals the following ERROR Uncaught SyntaxError: Invalid regular expression: /^(((+44)? ?((0))? ?)|(0))( ?[0-9]{3,4}){3}$/: Nothing to repeat
***** END EDIT *****

To try to fix this I've;
  1. changed the regex a few times - name and expression
  2. cleared cache
  3. replaced instances of the fields from my forms/grids
  4. refreshed files
  5. rebuilt/installed in sandbox and locally
I'm getting this in my project Project Man (com_projectwiz)
  • VersionCook 2.0b/Joomla 2.5
  • JS: JQuery
  • Form Style: Condensed
  • Features: Maximum
  • DB Automation: Model
  • Timeout: 20 secs
Desperate to sort this out! Please Help!

Many thanks!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 01 Oct 2012 07:34 by JoomGuy. Reason: Added JS DEBUG INFO
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 01 Oct 2012 09:31 #4179

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

I APOLOGISE PROFUSELY!!! It was my regex this time, not any fault of cook!!!

@mfr75 - please post your regex here so users can see it - I can almost guarantee it is the expression you're using...

Also, please use the JS Debugger in your browser to reveal the error you're getting which will help narrow it down.

Best regards,

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: [CLOSED] V 2.0 jqv:custom rule not found - phone 03 Oct 2012 12:49 #4223

  • mfr75
  • mfr75's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hello,
I put {ALIAS}-{RAND#6}.{MIMEXT} in the rename file option of my image field in the TABLE parameters.
I try to see any debuger on firefox firebug console when the alerts pops but nothing appears.
regarding the regex, I don't know where i can find it.
hope this helps ...
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 03 Oct 2012 22:57 #4255

  • whispiri
  • whispiri's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Thank you received: 1
  • Karma: -3
I am still having this problem. I cannot figure out how to fix it! I have tried numerous suggestions that I have found from this thread. Nothing is working.

I don't even know what regex is. I am sorry, I am an advanced joomla user but have not built too many components.

The image will load but it takes two or three clicks on the Save button to bypass this error that comes up no matter how I change the controls.

If anyone has fixed this problem, can they give me a step-by-step process of how they fixed it. I must of missed something.

THx
whispiri
The administrator has disabled public write access.

Re: V 2.0 jqv:custom rule not found - phone 08 Oct 2012 16:26 #4333

  • jgabcco
  • jgabcco's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
eng:

Greetings.
I have this error: "jqv: custom rule not found" wanting to upload an image or file, is the same in both versions and I tried it with all changes up to and motools jquery. the problem still occurs, this has me mad, not how to fix it, please ask for help.

In firefox the problem is passable by leaving do something after 3 or 5 clicks but internet explorer is very serious because it keeps doing nothing.

I read the comments and answers about this issue but I see no clear solutions, would like to know how to fix it. Thank you.



esp:

Saludos.
tengo ese error: "jqv:custom rule not found" al querer subir una imagen o un archivo, es igual en ambas versiones ya lo probe con todos los cambios hasta con jquery y motools. el problema sigue apareciendo, esto me tiene loco, no se como arreglarlo, pido ayuda por favor.

En firefox el problema es pasable por que deja hacer algo despues de 3 o 5 clics pero en internet explorer es muy grave por que no deja hacer nada.

he leido los comentarios y respuestas acerca de este problema pero no veo soluciones claras, quisiera saber como solucionarlo. gracias.
The administrator has disabled public write access.
Time to create page: 0.115 seconds

Get Started