If the target element is an input (textarea, select, etc) include its value when not used in a form