We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4bf84d commit 6632941Copy full SHA for 6632941
Client-Side Components/Client Scripts/Get Form Elements/getFormElements.js
@@ -0,0 +1,8 @@
1
+function onLoad() {
2
+ //Type appropriate comment here, and begin script below
3
+ var arr = [];
4
+ for (var i = 0; i < g_form.elements.length; i++) {
5
+ arr.push(g_form.elements[i].fieldName);
6
+ }
7
+ alert("Hi Sai, please find the form elements: " + arr.join(","));
8
+}
0 commit comments