문제

I am trying to pull in the text from a Drop Down field on my Nintex Form into a single line text box within the same Nintex Form. Is there a custom JavaScript code that can be written to accomplish this?

Here is what is a visual:

enter image description here

도움이 되었습니까?

해결책

You have set the JS ID(Client ID in JavaScript variable) for the dropdown and textbox field, then use the code like below to achieve it.

NWF$(document).ready(function(){
    NWF$('#' + JSID1).change(function(){
        var selection = NWF$('#'+JSID1);
        NWF$('#' + JSID2).val(selection.val());
    });  
});

The following articles for your reference.

Button to Set Field Value (JS)

How to retrieve the values from the drop down control

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top