Hello,
I want to have a form in which my customer can select 1 of his addresses (using a combo-box), and then change the details for that address. (example: when a customer has multiple shipping addresses, he can select one, then all the details get vissible and he can change the details of that address (the zipcode,street,etc).
So, I made the combo box, which has SQL driven options (the address_id's for that customer).
Then I made several text boxes which are visible after a question-event of the first combo-box: "Address", "Number", "Zipcode", "Country", etc.
I cannot get it work to set the defaults for these text boxes, using SQL defaults, like:
SELECT street1 AS DefaultValue FROM tbl_address WHERE address_id=$(ABNAA)
ABNAA is the short name of the first combo box. When i replace $(ABNAA) for a, let's say, the number "3", it works.
Is this also a security restriction you took in case of sql injections ?
(Or do i need to make 2 Forms ? 1 With a Querystring postback (the address selector) and 1 with a SQL data binding (all the address details) )
(Note: I am evaluating the Trial version.)