In novo.firebase.com.br/noticias.php, I want the "Filtrar" button to stay in the same line as the datepickers. If I move it to the same <div>, I get what I want, but if I use the calendar to put a date in the first picker, followed by a date in the second picker, and change the date of the first picker, it ends up changing the text of the submit button to the date.
Keeping the submit button in the same line
3 replies·opened Oct 13, 2021
C
CarlosOct 13, 2021
S
SemiColonWebSTAFFOct 14, 2021
Hello,
Consider using the following code:
<div class="col-md-6 bottommargin-sm">
<form action="noticias.php" method="post" name="envia_noticias" id="noticias">
<label for="">Período</label>
<div class="row align-items-center">
<div class="col">
<div class="input-daterange component-datepicker input-group format">
<input type="text" value="" name="inic" id="inic" class="form-control text-start" placeholder="DD/MM/YYYY">
<div class="input-group-text">até</div>
<input type="text" value="" name="fim" id="fim" class="form-control text-start" placeholder="DD/MM/YYYY">
</div>
</div>
<div class="col-auto">
<input name="enviar" type="submit" id="enviar" value="Filtrar" />
</div>
</div>
</form>
</div>This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
C
CarlosOct 14, 2021
Thank you very much!
S
SemiColonWebSTAFFOct 16, 2021
Very Happy to Help!
Do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard