src/Traits/CssSelector/FormCssSelector.php
public static function getInputByIdSelector($formName, $fieldId)
    {
        $formSelector = static::getFormByNameSelector($formName);
        $fieldId = trim($fieldId);

        if (empty($formSelector) || empty($fieldId)) {
            return '';
        }

        return sprintf('%s input#%s', $formSelector, $fieldId);
    }
public static function getInputByIdSelector($formName, $fieldId)
    {
        $formSelector = static::getFormByNameSelector($formName);
        $fieldId = trim($fieldId);

        if (empty($formSelector) || empty($fieldId)) {
            return '';
        }

        return sprintf('%s input#%s', $formSelector, $fieldId);
    }
public static function getInputByIdSelector ( $ formName , $ fieldId ) { $ formSelector = static :: getFormByNameSelector ( $ formName ) ; $ fieldId = trim ( $ fieldId ) ; if ( empty ( $ formSelector ) || empty ( $ fieldId ) ) { return '' ; } return sprintf ( '%s input#%s' , $ formSelector , $ fieldId ) ; }
Returns selector of the input field based on its ID

@param string $formName Name of form (value of the "name" attribute)
@param string $fieldId  ID of field (value of the "id" attribute)
@return string
Returns selector of the input field based on its ID