matching a field in a form with already saved mozilla user preferences

Discussion in 'JavaScript' started by kiran1785, Jan 19, 2007.

  1. #1
    hi,
    i hv a mozilla extension which auto fills forms. i want to compare a form field with the already saved list of user preferences to check if it is saved already. i can prefHasUserValue() but i want to know how to match substrings.
    For eg, if fname is stored and i hv a field name how to match name n fname?
    Can somebody plz help me??
     
    kiran1785, Jan 19, 2007 IP