|  Developer
Updated on May 17, 2022

update_user_code_restriction()

  • Update a field for specific item.
Edit

  • params: item_id (string), user_code_restriction (string containing regexp).
  • return: none.
Edit
				
					require "core"

value = true
core.update_user_code_restriction( item_id, "^\\d{7,10}$" )