Input Mask for Hyperlink field

D

Dave Elliott

Can I make the control on my form that is is hyperlink use a mask?
i.e. http://www. use this as the default beginning text and make it
go to the end of the mask so the user could finish the web address?
 
F

fredg

Can I make the control on my form that is is hyperlink use a mask?
i.e. http://www. use this as the default beginning text and make it
go to the end of the mask so the user could finish the web address?

If all the addresses start with 'http://www.' let the user enter just
the last part of the address.

Code the control's AfterUpdate event:

If InStr([ControlName],"http://www.") = 0 Then
Me![ControlName] = "http://www." & [ControlName]
End If
 
Top