Update addTextInputs.js

check if ddls selected