Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB field temporary lock

  • activha
  • activha
  • OFFLINE
  • Posts: 2336
  • Thanks: 117
  • Karma: 13
3 months 1 week ago #339154 by activha
CB field temporary lock was created by activha
Hello

I have a cb field cb_domain for url allowing users to input their own domain on which our IA plugin will be installed.
Upon submission we have a crawler getting the data from their website. This operation may last up to 30mn to follow robots rules and servers load.

I have already implemented a lock in the code via cb dates fields and the user is warned by the explanations in the field cb_domain

However this does not stop a user from changing the field, so I was wondering whether it was possible to implement a time lock forbidding to change the fields during say 20 minutes 
.
Would it be possible by CB conditional or CB Code ? or would I have to build an autoaction ?

How would you set this up ?

thanks

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

  • activha
  • activha
  • OFFLINE
  • Posts: 2336
  • Thanks: 117
  • Karma: 13
3 months 1 week ago #339155 by activha
Replied by activha on topic CB field temporary lock
Ok found the solution with CB conditional and PHP code agains a field
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum