NeoInJS Posted February 28, 2018 Report Share Posted February 28, 2018 How can I update a text field that is hidden triggered by a rule? Quote Link to comment Share on other sites More sharing options...
0 thirdcharm Posted February 28, 2018 Report Share Posted February 28, 2018 Hi NeoInJS, In your details page, let's say you have the following fields: Textbox1 Set as form element: Hidden Virtual1 Set as form element: Checkbox Virtual2 Go to Advanced > External Associations and Defaults > Set On load to receive value or parameter: Data Source Fields | Textbox1 Rules |---------------------|----------------------| | CRITERIA | ACTIONS | |---------------------|----------------------| | Virtual1 is checked | Make Virtual2 hidden | |---------------------|----------------------| Create a Header/Footer and insert the code below in the Footer <script> // This will copy the value you enter in Virtual2 to Textbox1 document.getElementById('cbParamVirtual2').onkeyup= function(){ var x = document.getElementById('cbParamVirtual2').value; document.getElementById('EditRecordTextbox1').value = x; }; </script> Quote Link to comment Share on other sites More sharing options...
Question
NeoInJS
How can I update a text field that is hidden triggered by a rule?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.