The setup: forms are submitted securely and when a form is submitted an email is sent to the admin assist letting her know. She then logs in and retrieves the form and prints it out. We're using ChronoForms/Chronoconnectivity to do this.
Client decided she wanted some of the text areas changed. Made changes in html and replaced the html in ChronoForms. New version shows up correctly on website. When I fill it in with test data then access it - or client accesses it - it's still the old version.
What am I missing?
Thanks and best wishes for a healthy and prosperous new year.
Scott
Hi Scott,
There's nothing clever in ChronoForms that would do this. Is site caching enabled? Are you working on the right version of the site (I've worked on a test site before instead of the live site and had the same problem)?
Bob
Thanks, Bob. Was hoping there was.
Working on correct version. System cache set to off. Cleaned cache for modules that use it.
I did have a copy of the form with same name (I had used as a backup). I changed it's name to try to fix this. Would that have caused this (they both use same database table name)? If so, how would I safely repair this?
Hi Scott,
Never have copies of the form with the same name, change one to make it different e.g. my_form_backup.
ChronoForms uses the name to get the form info from the database to display it. If you have two forms with the same name then you will get whichever version MySQL finds first. In my experience that's usually the older one but it could be either.
Bob
Hi Bob,
I seem to learn everything the hard way - could have read the warning in red...
Now, I've changed the names of the backup databases but the problem persists. I'm guessing there's something in the database tables that needs to be cleared. Suggestions?
Thanks,
Scott
Hi Scott,
Have you changed the names of the *forms* so that there aren't any duplicates?
Bob
Hi Bob,
In Forms Manager I opened each form and renamed all but the new one as such, referral_sheet2, referral_sheet3. Originally they were all referral_sheet.
Now referral_sheet is the new version we want to use and referral_sheet2 & referral_sheet3 are the backups.
Hi Scott,
That's good - and you are still seeing different versions show up from the same form link?
Bob
Hi Scott
Then I'm out of ideas . . . if it's not a cached version; not a duplicate form; and not a duplicate site then I don't know what it is :-(
Bob
I think it has to do with the database tables. They each have used the same ones.
I think I create a new form - identical html but new name and replace current one with it.
If I knew more about Databases, I'd clean out for data in the tables and start over.
Hi Bob,
I didn't update the admin settings (Data View Fields Names & Data View Columns titles) in ChronConnectivity. It will thus only show the old fields which are still there.
Best,
Scott
Update:
In ChronoConnectivity, under the General tab, I edited the body section of the connection view settings to correspond with the new form html. Saved. No change in the fields in the database. Also, no change in the Data View Fields Names under the Admin Settings.
Q: How do I update these areas so the change is reflected in the database fields and so in the form the admin assistant sees?
Thanks,
Scott
Hi Scott,
Sorry, I don't understand how all of this links together? I thought that the problem was that you were calling a form from a form link and getting different versions of the form displaying??
Even so, if the form name is still the same as far as I can see you shouldn't need to make any changes in ChronoConnectivity. Nor should the database have anything to do with it.
Puzzled ? ? ?
Bob
Hi Bob,
Sorry I'm not being more clear.
I, too, thought minor changes in the html of the form code would be accommodated automatically.
When I edited the html, some field names were added; others changed. These changes were not reflected in the database table used by the form.
Since the admin assistant retrieves the form info from the server where the submitted data are stored via ChronoConnectivity, I thought that by editing that the database table would be updated to reflect the changed field names. Didn't happen.
Review: the changed form shows up correctly on the website. When filled and submitted an email is sent to admin assist. What she finds (and I too when I go in the back way) is the old version filled in with the new info where there are fields for them.
Example:
Say old version had fields for name, address, and phone.
Say new version has these fields plus email address.
Submitted form: name, address, phone, email.
Received form: name, address, phone (no email).
Hope something in this clarification triggers an "ah ha."
Best,
Scott
Hi Bob,
Owner is desperate to get this fixed ASAP. Please, add any suggestions you might have.
Scott
Also, when I look at "Show Data" in Forms Manager
1. No data shows
2. New data field headers are there
When I then click on one of the records to edit, the data I entered is there.
I think the fields that return the {field names} are the edited fields - the ones I've changed but have not been able to change in the Data View Fields Names of the Admin settings tab.
How to update that?
Hi Bob,
I've edited and submitted some forms. There are still some fields which are not filling in with the data I enter. Will see if server resets or whatever it did overnight yesterday.
Meanwhile, I think the field names (id) in the form and in the body of General tab in ChronoConnectivity are the same. What else might be off?
Thanks,
Scott
Nothing changed overnight. Suggestions?
Thanks,
Scott
Hi Bob,
Clues: browsing SQL results shows
1. Not all data fields filled.
2. Some of the filled ones are newly added or edited so it's not rejecting edits out of hand.
Will look again at ChronoForm html and database field names.
Other thoughts welcome.
Scott
Hi Scott,
The only real problem that I can see is that the names don't all match up. I made a table of (a) the column names from the Database tabke; (b) the form input names and (c) the names in the ChronoConnectivity body box and only a few of them match exactly.
You also have a few names that start with numbers - which are not permitted; and a couple of entries in the CC Listing with colons at the end which mismatch them.
Bob
Thank you, Bob for looking at this and preparing this table.
Will use tables going forward; much better than tabbing back and forth.
Best,
Scott
Hi Scott,
That one seems to be working OK now too.
Bob
Hi Bob,
Yes. Did you do something or was it a matter of something working it's way through the system?
Thank you.
Scott
Hi Scott,
I didn't so anything except check the names for that item and post a test form to see what was happening.
Bob