LPS-51602

This is an update for [LPS-51602](https://issues.liferay.com/browse/LPS-51602).<br><br>This fix simply makes the logic functional.  I'll include my optimizations as part of LPS-50466.

I chose to add an id attribute to the aui:input taglib instead of changing the name attribute because changing the name breaks the form submit for that field.