Hi,
looks like you need a bit of help...
When working with these examples, make sure that the lanugage is set to javascript.
Here are a couple coding examples that might help:
click event of a button:
a.) put some text into a field:
try {
mySubForm.myField.rawValue = "put this text into the field.";
} catch(e) {
app.alert("Error: " + e);
}
b.) hide/display a subform:
try {
if (mySubForm.presence == "hidden") {
mySubForm.presence = "visible";
} else {
mySubForm.presence = "hidden";
}
} catch(e) {
app.alert("Error: " + e);
}
What you need to do is start looking at the many examples posted on this forum.