Skip to Content Skip to Menu

CB field temporary lock

  • activha
  • activha
  • OFFLINE
  • Posts: 2326
  • Thanks: 117
  • Karma: 13
1 month 1 day 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: 2326
  • Thanks: 117
  • Karma: 13
1 month 1 day 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