Can i change default Entry Details ?

By: Talha Fayaz | Asked: 11/30/2022
ForumsCategory: General questionsCan i change default Entry Details ?
Talha FayazTalha Fayaz asked 1 year ago
  1. I have created a employee registration form and I want to assign unique registration number to each user upon form submission so later when I want to filter user I can use that registration number to sort or filter or user can request me to check his submission and update user about it.
  2. Secondly a random auto Entry key / Entry ID is generated by default , so is there any way I can change those keys in a series and using them to filter entries.
Attachments
1 Answers
Victor Font answered 1 year ago
You can change keys by editing them after the fact. You cannot change entry id. Entry IDs are created by WordPress and provide the link to all data elements. In fact, WordPress creates entry ids for everything added to any table in the database. Entry id is designed to filter entries using the WordPress current_user() function where entry_id = current_user. Of course you can create your own alternate string for filtering using an algorithm or your design.
Talha FayazTalha Fayaz replied 1 year ago

okay Thanks , is there anyway we can change or update entry key, like formidable generates random key for each entry upon submission . How can I change random entry (ytn6nu) to reg-num-ytn6nu

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right