Results 1 to 2 of 2
  1. #1
    arobot is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2015
    Posts
    3

    how to validate html for url link

    I have a form that needs to be updated by multiple users. The information must be entered in the following format:



    <a href="http://website.com">Write any title here</a> and then they can add a description

    The users are not familiar with HTML and often submit it with incorrect syntax. I would like to prevent these errors prior to submission by writing some sort of validation. Is there a way to accomplish this? I imagine a macro is best for this situation. Multiple entries are often entered in a single cell (not sure if this would mess with the validation?)

    Any ideas? Much appreciated!

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    It could be done with VBA. Why are you allowing the users to type anchor tags and href's? Why not just have them type the values that change and test what they input as part of a validation process?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Validate with code Yes or No
    By GinaFlan in forum Forms
    Replies: 10
    Last Post: 10-06-2014, 08:10 PM
  2. Replies: 7
    Last Post: 08-28-2013, 02:30 AM
  3. Validate a field
    By tweety in forum Forms
    Replies: 19
    Last Post: 03-29-2013, 04:06 PM
  4. validate based on another value
    By subnet11 in forum Programming
    Replies: 3
    Last Post: 06-11-2012, 12:12 AM
  5. Replies: 0
    Last Post: 01-18-2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums