Quote from: sottwell at Nov 08, 2006, 11:05 PM
&vericode=`1`
Indeed... it would help if I read the whole list of features before posting..
Anyway, I downloaded and installed eForm and had the following (mostly resolved) issues:
(1) For some reason, all of the wretched files that I download from MODx seem to not have a terminating "\n" on the end of the file - the effect is that when I cut-n-paste (on Linux) I have to do something special to get the very LAST line of the file. Seeing snippets usually have "return $output;" as their last line, omitting it causes me mysterious problems... I can get rid of the Windows "carriage-return / new-line" business using "dos2unix" but the lack of ANY terminating characters at the end of the file catches me out every time
(2) The existing documentation (ie the file eform_examples.htm) makes cunning changes in the CASE of various words to confuse the new user... for example, the sample chosen chunk names are "eFeedBackForm" (capital B) and "eFeedbackReport" (lowercase B). But the best of all is the "eFeed[Bb]ackThanks" where the suggested name is capital B, and the actually USED name (in the sample snippet call) uses lower-case B.
(3) When I finally got those sorted out, the form appears, but on testing it, I end up with the message "Your name: expected at least two words" - even when I put in two, three or even FOUR words as my test name. I saw in the long long "eForm support" thread that I can remove the test altogether by deleting the REGEX expression part, so I have done that for the time being...
But suppose I want to KEEP the test, but I want it to work? I’m not sure of the mechanism underlying the #REGEX expression [i.e. not the regular expression part, but how that syntax causes the regular expression to be checked/matched/evaluated]
One more question .. if you can explain easily, how does the eForm "know" whether it should be displaying the "Thanks" message or the "Form" given that they appear on the same page id...
Thanks ..
Gordon