Link to home
Start Free TrialLog in
Avatar of Healthcareath
HealthcareathFlag for United Kingdom of Great Britain and Northern Ireland

asked on

HTA - Query AD

I have a form within HTA (vbscript),  6 text boxes. 1 box for username with a button to search AD.The other 5 text boxes for AD attribute boxes such as First Name, Surname, Location etc

I want to enter the username into the username field, click the button and populate all the text boxes.

It queries AD fine and pulls back all the information, however I can't get it to populate the text boxes.

The problem is, it loads the form through the onload function, which is before I can enter the username. When I have entered the username, I need someway of refreshing / reloading the form, whilst entering the variables into the relevant text boxes. So it needs to also store the variables from the AD query.

Can anyone give any pointers for this please

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Alan Gunn
Alan Gunn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.