get textbox elements of HTML-Container in RPG
Posted: Tue Feb 05, 2019 6:19 am
Hi,
we work with Profound Version 6.2.0.
I try to make our new DSPF's more responsive and want to use HTML-Container for displaying textboxes as you can see here: To send the changes to my rpg program I also put the textboxes in the DSPF and set the whole container to "display:none". To see the changes I deleted "display:none" in the browser tools.
With some JavaScript the connection between the html container fields and the textbox widgets work very well.
Now, I have problems with the error message, as you can see in the second image.
Is it possible to change the element which is send to your function pui.ValidationTip?
Maybe it is possible to show the error message next to the html field?
If not, do you have another idea how I solve this without static textboxes?
I hope you can help me!
Many thanks,
David
we work with Profound Version 6.2.0.
I try to make our new DSPF's more responsive and want to use HTML-Container for displaying textboxes as you can see here: To send the changes to my rpg program I also put the textboxes in the DSPF and set the whole container to "display:none". To see the changes I deleted "display:none" in the browser tools.
With some JavaScript the connection between the html container fields and the textbox widgets work very well.
Now, I have problems with the error message, as you can see in the second image.
Is it possible to change the element which is send to your function pui.ValidationTip?
Maybe it is possible to show the error message next to the html field?
If not, do you have another idea how I solve this without static textboxes?
I hope you can help me!
Many thanks,
David