1
I have an application in Java Web, I have an input text and I would like to put a button or something like that, because when I type something inside this input, if the user wants to go click this button in which he moves the text to the right, as if it were a tab or even a space, I’d like you to do it the moment you click the button. How can I do that?
This is my input:
<h:inputText value="#{frameBean.objSvg.valueText1}" autocomplete="off"
styleClass="form-control" tabindex="0"/>
And this is my button where I want you to do this action for example:
<p:commandLink id="btn_indent"
styleClass="btn btn-default" >
<i class="fa fa-text-height fa-fw"/>
</p:commandLink>
You want this button to be effectively a
[Tab]
that does not switch to the next form field?– user25930