Unique Item Reference Code for Collection Items

Learn how to create a unique reference code as items are inserted into a collection using Corvid (a.k.a. Wix Code). Unique reference numbers are an easy way for you or your website users to search or locate a specific item in your collection.

​This example allows you to add shapes to a collection called #Shapes, automatically allocating each new shape a unique reference code of the format REF0#. Try the example below.

#btnAddShape
Try it!
#iptShape
arrow&v
#txtMessage
Select a shape to add to the collection
Please wait ...
Disclaimer: To the best of our knowledge, this code works for its stipulated purpose. If you find an error in our code, or know of a better way to achieve the same result - please contact us! All our code snippets come with full support to help you implement them on your own website - simply contact us for help.
  • Facebook Social Icon
© CorvidCodeBank