Hi!I have form (web form) with filed and hotspot. I want to do, if i click on hotspot, then there is opening window and in this window, in other field is displaying the value form field from documect. Under hotspot I have:
var p1 = window.document.forms[0].field_feom_form.value;
msg=open(“http://server/base/form?OpenForm&parm1="+p1,“DisplayWindow”,"toolbar=no,directories=no,menubar=no,height=380,width=400”);
How can I then set value from p1 to opening window?
Subject: Open window & param
Try the following formula :@Right(Query_String_Decoded;“&parm1=”)
Assuming that,
-
there are no additional values after “&parm1=”
-
you have a Text-Computed for Display field on the form called Query_String_Decoded ( this is a CGI variable which returns the query string ) check help for more such variables like Server_Name, Server_Port, HTTP_Referrer etc
Ashish
Subject: RE: Open window & param
Where can I set this formule ?? Under hotspot or under field on new window ?
Subject: RE: Open window & param
You can put this formula whereever you like, but in this case it should ideally be a field ( as u mentioned in your post ). So put it in the field formula.
Ashish