Focal Point
HTML "TEXTAREA" not passing out updated value
June 13, 2017, 04:53 PM
wdusbankHTML "TEXTAREA" not passing out updated value
I'm using a
WF 8.2.01M, MF MVS 7.6.5
June 14, 2017, 02:16 AM
Daveplease update your message and do NOT use actual HTML code so everyone can see your question.
...
For the updated value to be passed to the fex it needs to be binded to a parameter. Did you do that?
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 14, 2017, 02:16 AM
Dave
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 14, 2017, 02:18 AM
Dave...
had to make a fake reply just to get it working again.
above is not my post.
please do not use <textarea> ( or any real HTML-code ) in your post.
Did you bind the textarea to a parameter?
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 14, 2017, 09:13 AM
wdusbankYes, looking at the parameters tab, that textarea is bound to a parameter.
WF 8.2.01M, MF MVS 7.6.5
June 14, 2017, 10:22 AM
Davewell...
...then the value should arrive at the .fex
can you verify that somehow?
( add to dummy COMPUTE field or in a heading )
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 14, 2017, 02:15 PM
wdusbankI tried a -TYPE statement in the procedure executed after the parm is updated, and I still get the old value.
If you want to see how it acts email me and we can set up a webex meeting.
WF 8.2.01M, MF MVS 7.6.5
June 14, 2017, 03:54 PM
TexasStingrayI have see this happen. What I had to do was custom javascript to get the value witht he getElementById and then use the IbComposer_setCurrentSelection.
Because when in a textarea the user can send back what ever they want I base64 encoded the value before sending it and then decode is back in the fex. and also check for Security Injection Issues. I hacker could cause some real damage.
Scott
June 15, 2017, 05:15 AM
Dave...and it only occurs with textarea?
Do simple textbox ( inputbox ) work?
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 16, 2017, 08:46 AM
wdusbankAll other textbox fields work. A textbox here will not work because it doesn't allow scrolling.
WF 8.2.01M, MF MVS 7.6.5
June 19, 2017, 06:06 AM
DaveI'm not saying you must use a TEXTAREA.
Do textbox also work when they have initially "old data"?
I'm trying to figure out whether it's a problem with the input-type or the fact you add some initial data.
_____________________
WF: 8.0.0.9 > going 8.2.0.5
June 19, 2017, 09:34 AM
SeyedGYou might want to check the 'Selection to' box property under 'Settings' to make sure it is set to the parameter name you want. If it is blank, it won't pass the new value to the .fex. Also make sure that the parameter name that is the problem is listed under 'Requests and Data Source'.
WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
June 20, 2017, 09:33 AM
wdusbankTextboxs work when they have initially "old data", and are pass their updated values out.
I don't see a 'Selection to' box property under 'Settings'.
WF 8.2.01M, MF MVS 7.6.5
June 27, 2017, 12:52 PM
FP Mod ChuckHi wdusbank
That is probably because you are on such an old release of WF. I suggest you open a case for this issue.
Thanks,
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats