Jim:
Hard to say without seeing the markup from your form. Your selectors are saying "find input element(s) with 'ff4_' in their id attribute". If there is more than one input element which matches that selector, then the val() function will return undefined.
M.