Skip to Content Skip to Menu

how can set field value to be uniqe

  • saman2
  • saman2
  • OFFLINE
  • Posts: 405
  • Thanks: 7
  • Karma: -1
4 years 7 months ago #318016 by saman2
Replied by saman2 on topic how can set field value to be uniqe
yes...i want use two ajax with eachother, is it possible? if i set query validation to ajax then set code field validation to ajax, then code field validation ignored, but if i set query field validation to ajax and code field validation to non-ajax, then each of two validation will be work, one of that in ajax mode and one of that after submit.
is it possible use ajax with all of that two validation?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 7 months ago #318020 by krileon
Replied by krileon on topic how can set field value to be uniqe
It's supposed to be possible to have two ajax validations, yes. Will review locally and see if they're interrupting one another, but they should not be.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
4 years 7 months ago - 4 years 7 months ago #318023 by krileon
Replied by krileon on topic how can set field value to be uniqe
Ok, looks like jQuery Validate does not support multiple remote validation rules on a single input. You will have to combine your two validations into a single ajax validation usage. To do this you'll likely just have to use Code Validation and use API to perform your database query. Have added a bug ticket to see if it's even possible to fix this, but it's not likely due to how jQuery Validate works.

forge.joomlapolis.com/issues/7957


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 4 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum