Solution 1 :


Solution 2 :

The input will disappear because the function .toggle() is used to hide/show an element by jquery.

jquery toggle

Solution 3 :

You are getting the radio hide because of the toggle implemented, so please use the below code this will solve your purpose.

$(document).on("click", ".radioc", function () {

Problem :

var value = $(".radioc").attr("value");

$("input[name=user-type]").change(function() {
  $(".input-txt-choose").val(value).toggle(this.value === value);
<script src=""></script>
<input type="radio" class="radioc" name="user-type" value="Brand">Brand
<input type="radio" class="radioc" name="user-type" value="Store">Store
<input type="text" class="input-txt-choose" value="">

Show the value (.radioc) in the input (.input-txt-choose), when I select the radio (.radioc)

When I select the option “Store”, input (.input-txt-choose) hides.

this is my fiddle