I'm able to hard code the different field values to successfully create an AD account . When I attempt to pass the variables from a form (firstname, lastname etc) am getting a error . The fields are all single line of text . When I switch to use multiple lines of text and change the field type to plain text it works . Having multiple lines of text as fields on the forms to capture first name, last name etc looks clumsy . How do I use single line of text as fields on the form and ensure the data captured is just plain text .