Skip to Content Skip to Menu

is it possible use code validation in the group field? 

  • saman2
  • saman2
  • OFFLINE
  • Posts: 405
  • Thanks: 7
  • Karma: -1
1 year 1 month ago #335254 by saman2
hi
in the group field i have two datetime field . one for start school and other for end of time in that school. i use cb code validation but it can not work when i add more row in that field group. am i correct way? is it possible validate some field in the group field ? i see in your demo and in you demo is also can not validate both time validation together. in fact i want comparison two field in each row of field group.
i use this in my code validation:
return ( strtotime('[cb_available_end_time]') > strtotime('[cb_available_start_time]')  );
i understand this topic maybe must under developer subs but i want understand it is a bug or it can not implement or i must more try?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 year 1 month ago #335270 by krileon
I cannot help you with paid products without an active subscription, sorry.

This has been a recurring theme with your previous posts. It does not matter if it's a bug or not as we've no clue if your install is even up to date so it's possible your issue has been long fixed. Regardless if we did investigate, determine there was a bug, and fix it you wouldn't receive the fixed release as you don't have an active subscription.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum