I've come to a new issue while working with the web client. Working with a validation of named fields. I'm using the standard loop through a from to get element names.
Like:
var checkName = forms.GD_entryDB.elements[i]getName();
var check = checkName.slice(0,3);
if (check == ' fld')
---etc
On the web client I have major problems getting the first line to generate checkName. So I modified it as follows
var checkElement = forms.GD_entryDB.elements[i];
var checkName = checkElement.getName();
var check = checkName.slice(0,3);
if (check.equalsIgnoreCase('fld'))
Even with this I am still getting Javascript erros in the webclient Usually:
TypeError: undefined is not a function. (validateWebFormDB; line 10)
And since I can't use popups, I am mailing myself the var info. In Developer I get what I expect.
like: "fld_entry_marital_status"
In web client I get a different return
like "fld_entry_marital_status_element_3660"
... of and in many case an empty string if I attempt to mail myself every named element, which cause problems of course.
So I guess the question is. Is this expected operation? And how much code modification will be expected to get something like this working in the web client?
I guess I will have to rap for null in the element nam at this point.