Fix null settings for out of form inputs

If the actual location of input is outside the form (like popular plugins such as select2 do) then settings will be null in throw an error. This fixes that error.

A better solution would be to still find the original form another way to access any settings.