We have built a large custom form but when previewed, it takes forever to load, and finally loads a blank screen. When viewing that source the code talks about not having permissions to view that page, which is strange because we DO have system admin permissions, and it is strange that it is printing that in the source, but not rendering it on the page.
It is a pretty large form, which took a long time to build, so we are hoping to not have to rebuild it. Any ideas?
And of course, the form is live, we have permissions to view it, etc.
When I try to clone the asset somewhere else, the clone does the same thing.
Anything in the error.log? Running out of memory, perhaps?
Nothing in the error logs, which is strange. How would I check for out of memory errors?
They would appear in the logs. I don't suppose you've customised the format and not put anything into the format bodycopy?
No, we've got that covered. But, there was some strange behavior when trying to get this work. I tried removing the customized body copy, which the details screen showed was gone. But it will still there in the asset map even after refresh, and I could edit it.
Do assets ever get corrupt? It just seems strange because cloning it does the same thing. And cloning or linking sections cause the same problem.
Disabling the option doesn't delete the bodycopy, so that you can re-enable it later and not have lost your changes. Not sure what else could be wrong here.
Our designer is the one building the form, and he just rebuilt it and had the same problem. It seems that the problem arises when there are too many complex validation rules.
Here is what he said about it:
[quote]Form Function: Allowing a user to rank three Numeric Questions within a Custom form while using Complex Validation to limit the value entered to be 3 or less and so that the value of that field is not equal to that of the other two fields.
Relation: The user must rank the preferences of their Resident Hall they wish to live in. There are three resident halls: Grainger, Newton, and Nichol.
What I've done:
- Created three questions titled Grainger, Newton, and Nichol, respectively.
- Gave them Options
Width: 2
Max Length: 1
Tab Index: 22, 23, 24 (respectively)
Enforced Integer: Yes
Complex Validation Rules
Value Comparison (1)
Operator: Must Be Less Than Or Equal To
Static Value: 3
Custom Error Text
Value Comparison (1)
Operator: Must NOT Be Equal To
OR Value of Question: ID of one of other two Questions
Custom Error Text
Value Comparison (1)
Operator: Must NOT Be Equal To
OR Value of Question: ID of one of other two Questions and not same as one above.
Custom Error Text
Result: Page displays nothing (pure white) and source attempts to display code of the effect "Currently Logged in as [Not Logged In] " and "You do not have permission to access Residence Hall Reservation Form." However, I am logged in as an Admin.
Testing it by adding one Complex Value Comparison at a time lets me have two of the questions with all Complex Validations and one of them with only the "Must Be Less Than Or Equal To" and none of the "Must NOT Be Equal To". The form will display proper. So why would adding "Must Not Be Equal To" to the third question make MySource think that I'm not logged in and don't have permissions?
Note: I also have 21 other form items with a mixture of text and option list that display perfectly fine within the page without these three questions.[/quote]
I am wondering if this is a bug, or if there is a limit to the number of complex rules that we can add to a custom form.
Its certainly a detailed report. I'd log it so we can see if we can reproduce it here.