I have a submission form that will register my customers and it needs to assign each customer to a group (example, Group 1- Group 5) with a hidden field. The customer needs to be auto-assigned to the correct customer group based on a field called 'Key-Code' which is correlates to the customer-group in the lookup table.
I am not sure the correct or best way to do what I am trying to do, but I assume it will require a lookup table, which I have created. The Customer Group ID LookUp Table has just two columns, the Key-Code field and the Customer Group ID field.
How can I apply the correct Customer Group ID to the hidden field using a Key-Code field to lookup the right group-id?
I have also mocked-up a diagram to help communicate my thoughts on the lookup table. I am really GREEN and my language and diagrams will show it, apologies for misuse of key-terms or improper diagrams or concepts. I hope this is clear, I don't think it's a complicated task - I just lack the basic proper knowledge I think.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
ResponsePro
Hi,
I have a submission form that will register my customers and it needs to assign each customer to a group (example, Group 1- Group 5) with a hidden field. The customer needs to be auto-assigned to the correct customer group based on a field called 'Key-Code' which is correlates to the customer-group in the lookup table.
I am not sure the correct or best way to do what I am trying to do, but I assume it will require a lookup table, which I have created. The Customer Group ID LookUp Table has just two columns, the Key-Code field and the Customer Group ID field.
How can I apply the correct Customer Group ID to the hidden field using a Key-Code field to lookup the right group-id?
I have also mocked-up a diagram to help communicate my thoughts on the lookup table. I am really GREEN and my language and diagrams will show it, apologies for misuse of key-terms or improper diagrams or concepts. I hope this is clear, I don't think it's a complicated task - I just lack the basic proper knowledge I think.
LookUpGroupID_KeyCode copy.pdf
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.