Hello all,
I have some issues that I hope to get help from you on.
I have created a form to be submitted to the database.
The form contains 15 checkboxes.
The idea is that a user opens up this form to send a request to our helpdesk.
This user can check one or several checkboxes at the same time.
When the user completes the form and hits the submit button, all values for the form including the checkboxes get submitted to our database and values of these checkboxes are emailed to the help.
9 of th 15 checkboxes are coded like these 3;
<input type="checkbox" name="service" value="HR">HR
<input type="checkbox" name="service" value="IT">IT
<input type="checkbox" name="service" value="Admin">Admin
The remaining 6 checkboxes are coded like these:
<input type="checkbox" name="service" value="gen@domain.com">General Services<input type="checkbox" name="service" value="pay@domain.com">Payrol
The challenge we have now is since the checkboxes with HR, IT, Admin (These are just examples) are going to one email address which is helpdesk@domain.com, how can we code it in such that helpdesk will know who is making the request?
For instance, we can just say:
if request.form("service") = "Admin" then
strEmail = "admin@domain.com"
end if
We can say that because as indicated all checkbox values except ones with email addresses as values, will go to helpdesk but helpdesk needs to have the ability to tell who is making the request.
i need your assistance, please.
Hope this is clear.
I have some issues that I hope to get help from you on.
I have created a form to be submitted to the database.
The form contains 15 checkboxes.
The idea is that a user opens up this form to send a request to our helpdesk.
This user can check one or several checkboxes at the same time.
When the user completes the form and hits the submit button, all values for the form including the checkboxes get submitted to our database and values of these checkboxes are emailed to the help.
9 of th 15 checkboxes are coded like these 3;
<input type="checkbox" name="service" value="HR">HR
<input type="checkbox" name="service" value="IT">IT
<input type="checkbox" name="service" value="Admin">Admin
The remaining 6 checkboxes are coded like these:
<input type="checkbox" name="service" value="gen@domain.com">General Services<input type="checkbox" name="service" value="pay@domain.com">Payrol
The challenge we have now is since the checkboxes with HR, IT, Admin (These are just examples) are going to one email address which is helpdesk@domain.com, how can we code it in such that helpdesk will know who is making the request?
For instance, we can just say:
if request.form("service") = "Admin" then
strEmail = "admin@domain.com"
end if
We can say that because as indicated all checkbox values except ones with email addresses as values, will go to helpdesk but helpdesk needs to have the ability to tell who is making the request.
i need your assistance, please.
Hope this is clear.