Populate input id="action" according to provider