Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Text Field

MarcioJunior
Contributor III

Hello,

I need your help, I have a text field that the information should be deleted when there is change in a value list. In fact the field erases the user on the screen, but when I look at it in the view mode the content is there.

I put the formula below, could help me.

 

 

<script>
$(function(){
$('input[name="master$DefaultContent$rts$s3116$f15876c"]').change(function(){
$('input[name="master$DefaultContent$rts$s6938$f17954c"]').val('');
})
})
</script>

1 REPLY 1