Hello,
I have following code in Onload event of a form which has one of the field, urlField
document.location.href=document.forms[0].urlField.value
When the form form gets loaded on web, I am getting an error, urlField is null or not an object any idea what is wrong?
Thanks
ms
Subject: JS error
I just checked – onLoad should have access to field values.
Subject: JS error
Thank you all for your response. I simply changed “Generate HTML for all fields” in forms property and it worked. I had a code as it is in Onload event.
Thanks again.
MS
Subject: Is the field hidden?
If so, you’ll need to make sure the form property to generate html for all fields is ticked.