Posts by Felipe Abrão Mariotti • 27 points
5 posts
-
0
votes0
answers15
viewsQ: C# Razor pages - how do I use the @{_Layout.cshtml} website correctly on more than one page?
Opá personal, good afternoon! I’m starting a Razor Pages MVC project in Visual Studio, but I’m having a problem where I can’t index more than one page to the main layout @page @{ Layout = "…
-
0
votes2
answers142
viewsA: Is there any way for a form to inherit from _Layout.cshtml in c#?
have you tried using @rendersection? On the main page, which you want to integrate the Forms, enter: `@Rendersection("@nomedaestrutura", bool)` on the page you want to pull the buttons: @Section…
-
-1
votes1
answer80
viewsQ: Function to check combobox and select an appropriate Regexp
How can I insert a function that checks the optionlist and after that checks the regexp of the banks below? There are 8 digits allowed in regexp to check the account in each bank, I do not know how…
-
-1
votes1
answer673
viewsQ: How do I scroll through the Select list
<script> function check(){ var verificaInput = document.querySelector("#cidade").value; var reg = /^[0-9]{4}$/; console.log(reg.exec(verificaInput)) console.log(reg.test(verificaInput)) }…
-
2
votes2
answers89
viewsQ: Regex because only true if put above 5 numbers?
function checkreg() { var reg = /[0-9]{4}/; var verificaInput = document.querySelector("#agencia").value; console.log(reg.test(verificaInput)) } <label> <input type="number" name="agencia"…