Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
You can achieve this as follow:
When you click on button, using js/jquery, set the value to hidden field and call the change function as below
<script> $('#button').click(function(){ $('hiddenFieldId').val('NEWVALUE').trigger("change"); }); </script>
hello Mr.habbi thanks for your answer , what i understand is this "check the photos bellow " : tell me what to change :
yea your code works fine its just when i click on that button the form is submited and the page is fast refreshed so the hiden field value gets back to its default value , do u have any ideas ?
thanks alot Mr.habibi , all works fine now
thanks for your answer ; but i don't wanna use a select box lets say that im building a calculator i got two input fields i created a button i want when clicked a new section show up with the result
Hi, you don't need to use custom JavaScript for that. You could if you prefer to, but it would be much simpler to just use Show and Hide Form Sections.
,first how to put the section invisible , when i click on the button i want a hidden section with information from the other section to show up