This kludge can it be used for sugarcrm and if so how would one change the code above to login ?ccsform what does this refer to ? Can this be used for any forms ie if you know the input textbox names can you send as many data fields as required. There seems to be a lot of scope for this little function I am new to programming and little things like this trow me Thanks