Question
Can I open a recordset On Client Side Script?
Hi Guys,
On a form I have a client side VBscript thet checks the email addy a user has added into a text box in a form and if its in the array of values set in the script it gets refused. This works.....
I would like to adapt this a little if possible and make it so that instead of hardcoding the array values into the script, I would like to have the array values taken from a recordset because it will allow the user to add and delete bad domains via a form and not need to go into the page code to add to the array I have at the moment.
I have tried serval times to replace my array loop with a recordset while loop to get the badDomains from the field in the database but I just get script error on page in my task bar.
Can I open a recordset from a client side script?
Id apprecaiate eny thoughts on how I can do this.
Thanks again
Tag
On a form I have a client side VBscript thet checks the email addy a user has added into a text box in a form and if its in the array of values set in the script it gets refused. This works.....
I would like to adapt this a little if possible and make it so that instead of hardcoding the array values into the script, I would like to have the array values taken from a recordset because it will allow the user to add and delete bad domains via a form and not need to go into the page code to add to the array I have at the moment.
I have tried serval times to replace my array loop with a recordset while loop to get the badDomains from the field in the database but I just get script error on page in my task bar.
Can I open a recordset from a client side script?
Id apprecaiate eny thoughts on how I can do this.
Thanks again
Tag
