Skip to main content
Inspiring
January 22, 2023
Answered

checkbox

  • January 22, 2023
  • 1 reply
  • 1068 views

Boa tarde, pessoal sou novo ca.

Gostaria de pedir a vossa ajuda.

Na empresa que trabalho tenho o adobe acrobat pro e estou fazendo um formulário de preenchimento.

Tenho dois campos checkbox (Masculino e feminino), gostaria de fazer o seguinte, quando clicar no masculino o "X" do feminino limpasse e assim visse verso.

Espero ter sido claro.

Acho que tem que ser em javascript, mais nao ser como fazer

This topic has been closed for replies.
Correct answer Nesa Nurani

No need for script, just give both checkboxes same name, for example instead of 'male', female' name them 'checkbox' now go to both checkboxes properties and under 'Options' tab where it says 'Export value' give one checkbox value 'M' and other export value 'F'. Now you will be able to only select one checkbox.

1 reply

Nesa Nurani
Community Expert
Community Expert
January 22, 2023

Give both checkboxes same name but different export value, that way you will only be able to select one.

Inspiring
January 22, 2023

Desculpa a minha ignorancia, mais infelizmente não compreendi.

não posso fazer com algum código javascript?

 

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
January 22, 2023

No need for script, just give both checkboxes same name, for example instead of 'male', female' name them 'checkbox' now go to both checkboxes properties and under 'Options' tab where it says 'Export value' give one checkbox value 'M' and other export value 'F'. Now you will be able to only select one checkbox.