Link to home
Start Free TrialLog in
Avatar of tracy_p
tracy_p

asked on

multiline in label in classic asp

Hi
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
dosth
Flag of India image

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

ASKER

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!!

ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna 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