Obter valor no integração
-
Utilizo um elemento no componente integração do <input type="radio" ...> conforme exemplo abaixo. Não estou conseguindo capturar o valor selecionado e armazenar no banco de dados. Poderiam me dar uma dica de qual função do maker eu posso utilizar?
<input type="radio" id="masculino" name="sexo" value="masculino">
<label for="masculino">Masculino</label><br>
<input type="radio" id="feminino" name="sexo" value="feminino">
<label for="female">Feminino</label><br> -
Aí vc pode utilizar a função integração obter elemento pelo ID e em seguida: utilizar a função Html obter atributo do elemento DOM, passando o elemento Checked. Dessa forma será retornado true ou false.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Cadastrar Login