Can't edit an existing form - Tomoac Form 5
Permalink Browser Info Environment
Hi there
A websites has got Tomoac Form 5 installed.
We would like to edit some fields but it doesn't seem possible... When you go to a page where a form is displayed and click on the block to Edit it, an "Edit Tomoac Form 5" popup appears (see image 1 attached) but there is no option to edit anything and the tabs are not selectable.
Also, when you go to Dashboard -> Tomoac Form 5, there is nothing there (see image 2 attached). And when you click on "Form Results" link the following error appears:
Fatal error: Call to undefined method ConcreteDashboardHelper::getDashboardPaneHeaderWrapper() in /public_html/packages/form_tomoac/single_pages/dashboard/form_tomoac/exforms.php on line 33
Line 33: echo $h->getDashboardPaneHeaderWrapper(t('Form Results'));
What could be the problem and how to fix it?
Thanks
A websites has got Tomoac Form 5 installed.
We would like to edit some fields but it doesn't seem possible... When you go to a page where a form is displayed and click on the block to Edit it, an "Edit Tomoac Form 5" popup appears (see image 1 attached) but there is no option to edit anything and the tabs are not selectable.
Also, when you go to Dashboard -> Tomoac Form 5, there is nothing there (see image 2 attached). And when you click on "Form Results" link the following error appears:
Fatal error: Call to undefined method ConcreteDashboardHelper::getDashboardPaneHeaderWrapper() in /public_html/packages/form_tomoac/single_pages/dashboard/form_tomoac/exforms.php on line 33
Line 33: echo $h->getDashboardPaneHeaderWrapper(t('Form Results'));
What could be the problem and how to fix it?
Thanks
Type: | Discussion |
---|---|
Status: | In Progress |
Hi there
As stated under the "Environment" link: concrete5 Version 5.4.1.1 and Tomoac Form 5 (0.9.4.6).
Thanks
As stated under the "Environment" link: concrete5 Version 5.4.1.1 and Tomoac Form 5 (0.9.4.6).
Thanks
This add-on is everything empty after install.
First, you have to ADD some items and save.
After ADD, you can EDIT items.
Dashboard menu is above three buttons, choose one. You can see registed data after resist operations.
I have a question latest concrete5 version is 5.7.3 and 5.6.3.2. Why do you use 5.4.1.1 that is very old?
First, you have to ADD some items and save.
After ADD, you can EDIT items.
Dashboard menu is above three buttons, choose one. You can see registed data after resist operations.
I have a question latest concrete5 version is 5.7.3 and 5.6.3.2. Why do you use 5.4.1.1 that is very old?
Tomoac Form 5 plugin has been installed and a form has been created a long time ago by someone else. So, there is an existing form that I want to edit but as described above and shown on the images, there is no such option :-(
Yes, it's an older c5 version. It would be great to update but not not sure if existing plugins/addons and the theme will be affected so it's not an option at the moment.
Yes, it's an older c5 version. It would be great to update but not not sure if existing plugins/addons and the theme will be affected so it's not an option at the moment.
I saw two images that your sending, they seem to good.
Please show me your form in your page if you can.
Please show me your form in your page if you can.
Sent a PM. Thanks.
I found a bug in dashboard of version 0.9.4.6.
It had fixed new version of Tomoac Form. Now Tomoac Form version is 0.9.8.12.
I attached file, their file override in "single_pages/dashboard/form_tomoac"
Edit problem I am not sure. I need more Informations.
It had fixed new version of Tomoac Form. Now Tomoac Form version is 0.9.8.12.
I attached file, their file override in "single_pages/dashboard/form_tomoac"
Edit problem I am not sure. I need more Informations.
This update has fixed the dashboard issue - thanks :)
Can you install bellow add-on?
https://www.concrete5.org/marketplace/addons/tomoac-form-5-backup/...
This add-on can dump data of Tomoac Form to a file.
And please send me to the file.
If you can send, I can check by your form data on my server.
https://www.concrete5.org/marketplace/addons/tomoac-form-5-backup/...
This add-on can dump data of Tomoac Form to a file.
And please send me to the file.
If you can send, I can check by your form data on my server.
This add-on is for concrete 5.4.2 and greater. Our website is on concrete 5.4.1.1 :-(
Is there another way or an add-on for older C5?
Is there another way or an add-on for older C5?
I have tried to backup through the default backup option (Dashboard -> Tomoac Form 5 -> Form Backup... see attached img) but nothing happens. The page just refreshes itself when I click the "Backup" button.
I make special version.
it can install 5.4.1.1
Please try this package.
I tried my server on concrete5.4.1.1, it has no problem.
it can install 5.4.1.1
Please try this package.
I tried my server on concrete5.4.1.1, it has no problem.
This one got installed successfully, thanks.
I suspect there should appear a link to download the backup file when you run a backup (as described here:http://concrete5english.tomo.ac/tomoac-form-5-backup/... ). But when I click "Form Backup" button (see attached img), nothing happens. It just reloads the page - that's it.
No errors in the error log either.
Are there any specific requirements for the hosting server for your extensions to work correctly?
I suspect there should appear a link to download the backup file when you run a backup (as described here:http://concrete5english.tomo.ac/tomoac-form-5-backup/... ). But when I click "Form Backup" button (see attached img), nothing happens. It just reloads the page - that's it.
No errors in the error log either.
Are there any specific requirements for the hosting server for your extensions to work correctly?
Do you know super-user's password?
You have to backup on super user?
If not, are you trying it by super-user.
You have to backup on super user?
If not, are you trying it by super-user.
Backups work when logged in as a super admin (admin id 1) :)
I have just sent a backup file in a PM.
I have just sent a backup file in a PM.
Thank you, I got your data and restore to concrete5 on my server.
See attache file, so I can edit it in concrete5.4.1.1 and Tomoac form 0.9.4.6.
I need more some informations.......
See attache file, so I can edit it in concrete5.4.1.1 and Tomoac form 0.9.4.6.
I need more some informations.......
I found a little problem. I will check it.
OK thanks.
Sorry, they were no problem.
During open EDIT window that item are no display, click right button, choose SourceCode, save to file.
During open EDIT window that item are no display, click right button, choose SourceCode, save to file.
Done (sent in PM).
Another question...
How can I use backup/restore function (Tomoac Form 5 Backup add-on) for editing form fields without affecting the data (submitted form data from the past)?
Are the following steps correct?
1. Backup the form WITHOUT including the data ('Include the Data' UNchecked)
2. Edit some fields settings in the .json backup file by using a text editor
3. Restore the form using the modified .json file and UNcheck the 'Input Data' checkbox when restoring.
Basically, if backup/restore as described above, can I be sure that the data submitted in the past would still be there?
Another question...
How can I use backup/restore function (Tomoac Form 5 Backup add-on) for editing form fields without affecting the data (submitted form data from the past)?
Are the following steps correct?
1. Backup the form WITHOUT including the data ('Include the Data' UNchecked)
2. Edit some fields settings in the .json backup file by using a text editor
3. Restore the form using the modified .json file and UNcheck the 'Input Data' checkbox when restoring.
Basically, if backup/restore as described above, can I be sure that the data submitted in the past would still be there?
Thank you for your work.
This attache file change files but you should back up file.
this file is /form_tomoac/blocks/form_tomoac/form_setup_html.php
After change file, and Edit. You could see message
1. alert message -> start of list
2. click ok -> display item list.
3. alert message -> end of list
Can you dump all database in concrete5?
If you can it, pleas send me.
This attache file change files but you should back up file.
this file is /form_tomoac/blocks/form_tomoac/form_setup_html.php
After change file, and Edit. You could see message
1. alert message -> start of list
2. click ok -> display item list.
3. alert message -> end of list
Can you dump all database in concrete5?
If you can it, pleas send me.
I'm sorry I don't understand your last message...
I have replaced the /form_tomoac/blocks/form_tomoac/form_setup_html.php file with the one you have provided. Then went to edit the form but it all behaves exactly as it did before. No changes. So, not sure what you meant by the 1., 2., 3. steps.
Could you please explain it once again?
I have replaced the /form_tomoac/blocks/form_tomoac/form_setup_html.php file with the one you have provided. Then went to edit the form but it all behaves exactly as it did before. No changes. So, not sure what you meant by the 1., 2., 3. steps.
Could you please explain it once again?
Also, what is you answer to my question from my previous message (see below)?
-----------------------------------------------------------------------------------------------------
Another question...
How can I use backup/restore function (Tomoac Form 5 Backup add-on) for editing form fields without affecting the data (submitted form data from the past)?
Are the following steps correct?
1. Backup the form WITHOUT including the data ('Include the Data' UNchecked)
2. Edit some fields settings in the .json backup file by using a text editor
3. Restore the form using the modified .json file and UNcheck the 'Input Data' checkbox when restoring.
Basically, if backup/restore as described above, can I be sure that the data submitted in the past would still be there?
-----------------------------------------------------------------------------------------------------
Another question...
How can I use backup/restore function (Tomoac Form 5 Backup add-on) for editing form fields without affecting the data (submitted form data from the past)?
Are the following steps correct?
1. Backup the form WITHOUT including the data ('Include the Data' UNchecked)
2. Edit some fields settings in the .json backup file by using a text editor
3. Restore the form using the modified .json file and UNcheck the 'Input Data' checkbox when restoring.
Basically, if backup/restore as described above, can I be sure that the data submitted in the past would still be there?
One more question....
There are two different fields called "Email Address:" in the form I need to edit. I have checked the .json backup file and "required" setting is set to "0" (same in the database). But when you try to fill in the form, it requires you to type in the emails.
How do I make just one of the email fields optional (NOT required)?
There are two different fields called "Email Address:" in the form I need to edit. I have checked the .json backup file and "required" setting is set to "0" (same in the database). But when you try to fill in the form, it requires you to type in the emails.
How do I make just one of the email fields optional (NOT required)?
mail field, one or two,
"width2"=1 ->double
"width2"=0 -> single
"width2"=1 ->double
"width2"=0 -> single
Sorry, I think I wasn't clear enough when asking about email fields...
If you look at the form, you will see one "Email Address:" in Section A (tenant's email) and another "Email Address:" is in Section C (landlord's email). Both of them are required. I want to keep "Email Address" in Section A as required and "Email Address" in Section C optional.
Section A "Email Address" - must fill in.
Section C "Email Address" - can fill in but doesn't have to.
How do I achieve this?
If you look at the form, you will see one "Email Address:" in Section A (tenant's email) and another "Email Address:" is in Section C (landlord's email). Both of them are required. I want to keep "Email Address" in Section A as required and "Email Address" in Section C optional.
Section A "Email Address" - must fill in.
Section C "Email Address" - can fill in but doesn't have to.
How do I achieve this?
"required":"1" <-- section A, must fill
"required":"0" <-- section C, any
"required":"0" <-- section C, any
Yes, they are both set as "required":"0" which mean both should be optional, but both of them require you to fill in emails. If you look at the form backup file I have sent to you earlier, you will see.
I'm not sure.
"required":"0" is optional
"required":"1" is required
"required":"0" is optional
"required":"1" is required
So backup data can edit and ok to restore.
If you restore items are merge in exist items.
I recommend, first new form by empty. ADD block and immediately save, so you can make empty form.
And restore to empty new block.
By the way, Backup data has little problem. you use description field last second item is include "¥" you have to remove "¥" before restore.
This step can do everytime.
You don't have to restore to current form block.
If you restore items are merge in exist items.
I recommend, first new form by empty. ADD block and immediately save, so you can make empty form.
And restore to empty new block.
By the way, Backup data has little problem. you use description field last second item is include "¥" you have to remove "¥" before restore.
This step can do everytime.
You don't have to restore to current form block.
If pop-up message, it means path to edit code.
I want to reproduce your form on my server.
But It seems not bad.
I want to try same your environment. That's why, I need all database data, If you can.
But It seems not bad.
I want to try same your environment. That's why, I need all database data, If you can.
By the way,
Because of reproduction on my server.
I need full database dump image. So can you execute "mysqldump" and can you send me the file
Because of reproduction on my server.
I need full database dump image. So can you execute "mysqldump" and can you send me the file
Sent the db dump in PM. Thanks.
Thank you for your data.
I looked for form, but I can no find form.
What page is in the form?
I looked for form, but I can no find form.
What page is in the form?
Tenants -> Tenancy Application Form
/tenants/tenancy-application-form
/tenants/tenancy-application-form
OK thanks.
After include my database from your file, I tried to open bellow
/tenants/tenancy-application-form
And into Edit on concrete5, choose Form block, and edit on Tomoac Form. I seem no problem. I can edit the Form block.
Next, this attache file is to output error_log and echo on your page.
After open Edit tag on Tomoac Form Block. I want see error_log on httpd(apache).
And send me part of error_log.
File change bellow
/form_tomoac/blocks/form_tomoac/controller.php
/form_tomoac/blocks/form_tomoac/tools/service.php
After include my database from your file, I tried to open bellow
/tenants/tenancy-application-form
And into Edit on concrete5, choose Form block, and edit on Tomoac Form. I seem no problem. I can edit the Form block.
Next, this attache file is to output error_log and echo on your page.
After open Edit tag on Tomoac Form Block. I want see error_log on httpd(apache).
And send me part of error_log.
File change bellow
/form_tomoac/blocks/form_tomoac/controller.php
/form_tomoac/blocks/form_tomoac/tools/service.php
Sent in PM. No errors seem to be triggered.
Any chance that it could be some sort of JavaScript conflict?
Any chance that it could be some sort of JavaScript conflict?
May be you are right.
My sever is same version of concrete5, same version of Tomoac Form and same Database.
The different part are themes and another add-on. The page uses only use Tomoac Form block of add-on.
Because of that conflict Javascript in your theme and the Tomoac Form.
What kind of browser do you use?
When you click EDIT tabs, click right button on mouse, you can open debug window, choose console tab in debug window. You can see javascript error.
My sever is same version of concrete5, same version of Tomoac Form and same Database.
The different part are themes and another add-on. The page uses only use Tomoac Form block of add-on.
Because of that conflict Javascript in your theme and the Tomoac Form.
What kind of browser do you use?
When you click EDIT tabs, click right button on mouse, you can open debug window, choose console tab in debug window. You can see javascript error.
Yes, I can see "Failed to load resource: net::ERR_CACHE_MISS" in Google Chrome and "The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page." in FireFox.
Does this tell you anything?
Does this tell you anything?
Or can you send me your theme.
Sent in PM, thanks.
I tried to your theme. See attache file.
Edit can do it. But Theme is little strange, I think it is not completed.
Edit can do it. But Theme is little strange, I think it is not completed.
Menu is unstyled because there is "Superfish - 1.1.4" addon is installed on the website as well.
Since it works on your machine with the theme I've supplied, then I guess, the conflict is with one of the addons that are installed on the website.
Since it works on your machine with the theme I've supplied, then I guess, the conflict is with one of the addons that are installed on the website.
However, it is still unclear why two "Email Address" fields are set to "required":"0" and both must be filled in before the form is submitted... hmm.. I don't think another addon could cause this...
I'm not sure your question.
Email field on double that item is one item, one item but two input area on display.
Email field on double that item is one item, one item but two input area on display.
If you look at the form, you will see one "Email Address:" in Section A (tenant's email) and another "Email Address:" is in Section C (landlord's email). These are two separate email fields. Both of them appear as required on the page. However, both of the are set as "required":"0" (you can see it either in the database or the .json backup file I've sent you earlier). So they should be optional, but they are not. I wonder why?
I want to keep "Email Address" in Section A as required and I want to make "Email Address" in Section C optional. What I need:
Section A "Email Address" - must fill in.
Section C "Email Address" - can fill in but doesn't have to.
But both of them are already set as "required":"0". So it doesn't make sense why both of them still appear as "must fill in" on the page.
I want to keep "Email Address" in Section A as required and I want to make "Email Address" in Section C optional. What I need:
Section A "Email Address" - must fill in.
Section C "Email Address" - can fill in but doesn't have to.
But both of them are already set as "required":"0". So it doesn't make sense why both of them still appear as "must fill in" on the page.
I understand about email fields.
Please change attache file to /form_tomoac/blocks/form_tomoac/controller.php
They are browser function. Email tags' type is "email" browser default required.
I change tag type from "email" to "text".
May be, it fixed new version.
Please change attache file to /form_tomoac/blocks/form_tomoac/controller.php
They are browser function. Email tags' type is "email" browser default required.
I change tag type from "email" to "text".
May be, it fixed new version.
Ah, that what it is! I see. Thanks :)
Please send me "Superfish - 1.1.4" and any add-on of using that page..
Theme and Tomoac form are not conflict.
I think Superfish and Tomoac Form are conflict.
Theme and Tomoac form are not conflict.
I think Superfish and Tomoac Form are conflict.
Sent Superfish - 1.1.4 addon in PM. I think this is the only addon (apart from the form) that is used on the page.
I installed Superfish. But screen is not change like attach image file.
Do you see that?
or
Do you use another add-on?
Do you see that?
or
Do you use another add-on?
Strange... I'm not sure why it doesn't affect it. Have you tried a full refresh (Ctrl+F5)? And maybe also clean cache in the admin dashboard before the full refresh as well?
I have sent you another addon that might be at fault (please see PM).
I have sent you another addon that might be at fault (please see PM).
I tried clear cache.
I checked CSS in Statfish, but I can not find conflict.
Can you try to rebuild the page?
1'st, create new page.
2'nd, Add Tomoac-Form block and immediately Save. So, it just only button.
3'rd, Restore by Tomoac-Form-Backup.
By the way, Tomoac-Form-Backup have a bug.
Your backup data can not restore completely. If you try restore, you use this attach file.
And your backup data file don't have input data. If you have input data, please send me backup data, I can fix and return data.
OR
Can I login your web site as admin?
I checked CSS in Statfish, but I can not find conflict.
Can you try to rebuild the page?
1'st, create new page.
2'nd, Add Tomoac-Form block and immediately Save. So, it just only button.
3'rd, Restore by Tomoac-Form-Backup.
By the way, Tomoac-Form-Backup have a bug.
Your backup data can not restore completely. If you try restore, you use this attach file.
And your backup data file don't have input data. If you have input data, please send me backup data, I can fix and return data.
OR
Can I login your web site as admin?
I think I'm on to something here...
There is a file in /public_html/js/jquery.js which is v1.6.4.
When replaced with an older v.1.4.2, form editing seems to start working.
I'm not sure what jquery version should be used on concrete 5.4.1 as I can't find where to download older concrete5 versions...
attached jquery.js is what was originally in my /public_html/js folder
jquery.js.142 - makes it work so it seems (just remove .142 part when testing)
What jquery version do you use on your test install?
There is a file in /public_html/js/jquery.js which is v1.6.4.
When replaced with an older v.1.4.2, form editing seems to start working.
I'm not sure what jquery version should be used on concrete 5.4.1 as I can't find where to download older concrete5 versions...
attached jquery.js is what was originally in my /public_html/js folder
jquery.js.142 - makes it work so it seems (just remove .142 part when testing)
What jquery version do you use on your test install?
I don't use special jQuery. I am using jQuery in concrete5.
I checked version of jQuery on concrete5 that is "/concrete/js/".
The concrete5.4.1.1 has v1.4.2 of jQuery.
I checked version of jQuery on concrete5 that is "/concrete/js/".
The concrete5.4.1.1 has v1.4.2 of jQuery.
Seems to work fine with the v1.4.2 of jQuery. This is what the problem was.
Thanks a lot for your help and time, tomoac!
Thanks a lot for your help and time, tomoac!
You're welcome.
I am going to check on your version.