Difference between revisions of "Changing the Status from a Web Page View"

From SmartWiki
Jump to: navigation, search
Line 11: Line 11:
 
</pre>
 
</pre>
  
Where 8885 is the value associated with the status you wish to select.
+
Where 8885 is the ID associated with the status you wish to select.
  
  
 
==See Also==
 
==See Also==
 
* [[Updateable Web Page View Fields]]
 
* [[Updateable Web Page View Fields]]
 +
* [[Determining the statusid]]
  
 
[[Category:System Management]][[Category:JavaScript]]
 
[[Category:System Management]][[Category:JavaScript]]

Revision as of 08:46, 25 June 2013

You can change the status of the associated item on a Web Page View using the following script:

At Level One:

document.getElementById("obj.fd_stageid").value = "8885";

At Level Two:

document.getElementById("obj.fd_statusid").value = "8885";

Where 8885 is the ID associated with the status you wish to select.


See Also