Hello everyone, I explain my problem to you,
I built a form to enter a serial number.
It consists of 8 numbers but I would like the user to enter the data individually (see image)
the fields are called:
camp0, camp1, camp2, camp3, camp4, camp5, camp6, camp7
once I clicked on submit I would like to generate a "bar_code" and "lot" variable which consists of assembling a part of fields:
bar_code = camp0 + camp1 + camp2 + camp3
lot = camp4 + camp5 + camp6 + camp7
Once created I would like "bar_code" and "lot" to be saved in the DB.
Then:
1. How can I create the variables to combine the various values?
2. How can I customize the saving of data in my DB?
Thank you
I built a form to enter a serial number.
It consists of 8 numbers but I would like the user to enter the data individually (see image)

the fields are called:
camp0, camp1, camp2, camp3, camp4, camp5, camp6, camp7
once I clicked on submit I would like to generate a "bar_code" and "lot" variable which consists of assembling a part of fields:
bar_code = camp0 + camp1 + camp2 + camp3
lot = camp4 + camp5 + camp6 + camp7
Once created I would like "bar_code" and "lot" to be saved in the DB.
Then:
1. How can I create the variables to combine the various values?
2. How can I customize the saving of data in my DB?
Thank you
You need to login to be able to post a reply.
