Home › Forums › Quform WordPress › Random Assigned Dynamiic Number
- This topic has 10 replies, 3 voices, and was last updated 11 years, 9 months ago by jerkski.
- AuthorPosts
- January 24, 2013 at 6:15 pm #2405Halo242Participant
Im just wondering, there is a hidden field option. Is it possible to make that hidden field assign a dynamically generate number string? Like a unique identifier with parameter for the form submission. Like for example when i receive the form it is assigned “AB-13001” and then the next form I receive is assigned “AB-13002”. Please advise. This would be really useful for a project im working on.
Thank you
-PaulJanuary 25, 2013 at 3:13 pm #2419AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 29, 2013 at 11:16 pm #2472Halo242ParticipantIm sorry for the dealy on this.
I tried this and did not return anything it only returned the value AB-{entity_id}Dont mean to go off topic…I accidentally deleted my database that held the form I made. It was a long form and I spent about 4 hours on it. I never exported the code however I still have a sample page of that form on screen. Obviously If I hit edit it wont be there but have the output code from the page is there a way to extract the form out of it without having to rebuild this form?
January 30, 2013 at 11:39 am #2478AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 8, 2013 at 4:11 pm #2717jerkskiParticipantI too am interested in something very similar… is there a way to generate the next number in sequence based on what exists in the entry list? I would like this number to be autogenerated on form submission for each entry.
Thank you! BTW, sweet plugin! Just what i was in need of!
February 10, 2013 at 2:05 pm #2743AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 11, 2013 at 2:42 pm #2771jerkskiParticipantWould it be possible to have a form submit the data, then display a confirmation page which shows the submitted data as well as the associated {entry-id}? This would create a nice workflow because this means the entry-id has allocated to that record upon submitting the form, otherwise, if you have two different people entering data simultaneously, there may be a conflict if it displays the next available entry-id prior to submitting.
February 11, 2013 at 3:07 pm #2772AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 12, 2013 at 7:42 pm #2803jerkskiParticipantHmm, interesting…that worked perfectly! Is there a way to pass more than one variable in the $SESSION? For instance like First name, Last name, etc.?
February 13, 2013 at 9:37 am #2820AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 21, 2013 at 4:17 pm #3047jerkskiParticipantBTW – Thank you very much for your suggestions! Working awesome!
- AuthorPosts
- You must be logged in to reply to this topic.