QUESTION POSED ON: 04 June 2004
How do I set a field value using an external JavaScript file? When a user selects a menu item, I would like it to call a function. The function would then set a value to a specific field. The value from that field, which would be a name of a view, would then be used to display the correct view in the embedded view.
Menu:
HEASD
External .js file:
function PlacevwForm(viewform){
document.all.view.src=urlAddress +
viewform + "?OpenForm&Count=-1";
document.forms[0].
ViewName.value = "vwQAMHEASD";
}
Field on Form:
ViewName and editable
(I would like this to be hidden)
The embedded view has the Formula:
ViewName
|