Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
HTML/Java-Script-string in Oscript-string
Johann_Lazarus_(sglcadmin13_-_(deleted))
Hi !I need to transfer a java-script-string (username from an Form-Field) into an oscript-Stringthe idea behind is, to make a smal javascript on the loginpage of livelink.If the username is filled out (javascript-string: username=document.LoginForm.username.value) and the "Password-forgotten-Button is pushed:i like to ask the kuaf, about the mailaddress and then send a mail to the admin with the username and mailaddress in the mail that the admin is easily able to reset the password.But how to set the oscript-string ??In the Javascript:;string username=*whatshouldbethere*thanks a lotMarco
Find more posts tagged with
Comments
ATHANASSIOS_FAMELIARIS
Im quite positive that what you want to do is not possible. Let me see if I understand correctly: You want to use javascript to set the value of an OScript string. If this is the case then I THINK it cannot be done because OScript is not dynamic, once the page is loaded, the variables cannot be altered. Javascript is dynamic so you can modify its variables after the page is finished loading. I believe the only thing ou can do is to use Javascript to call some other page, passing the string as argument, thus setting the OScript variable there, before the page is loaded. In that way OScript is like PHP JSP and ASP where the same thing applies.However, I can't be certain, and I may have misunderstood your problem. So see what other have to say too.
Johann_Lazarus_(sglcadmin13_-_(deleted))
Dear Stavroula Zeti !Is it possible to make a smal popup window in the Javascript and handover the varibale there ? (How)Or is there a need to use an requesthandler ??ThanksMarco
Magnus_S_(novnoruser_-_(deleted))
No problems have a look on the datalookup solution Open Text gives away for Webforms...I don't like solutions like and see them just as a bad workaround....In your case I should either overrite the login request handler or do my own ..regardsMagnus Salgo