Link to home
Start Free TrialLog in
Avatar of tracy_p

asked on

multiline in label in classic asp

i am doing validations and i am showing error message in a label.
i want to show multiple messages in same label.
now i am showing "enter phone number" as error message
i want to show
enter phone number
enter street address
in label in different lines.
using classic asp
thank you
Avatar of dosth
Flag of India image

can you give us a sample what you are looking for?
Avatar of tracy_p


dim shower
If error1 = "phone" Then
            shower = "enter phone number"
      End If
i can display this,i want to show like this.if these 2 validations are false then display error messages in differnt lines
If error1 = "Phone" And error1 = "stadd" Then
            shower= "enter phone"
                                           shower= "enter street address"
      End If  
can i use shower 2times as in above code or not?
i declared another variable and used as below,but its not workin
dim shower1,shower
If error1 = "Phone" And error1 = "stadd" Then
            shower= "enter phone"
                                           shower1= "enter street address"
      End If  

plz help!!

Avatar of hielo
Flag of Wallis and Futuna image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial