17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 957 Views |
-
Forlorn EditableFormFields in database

6 June 2007 at 4:01pm Last edited: 6 June 2007 4:33pm
Hi,
if you create a fresh new contact form in CMS, do not save it, add some form fields, do not save it, and delete the page. Then, the created form fields in the MySQL table `EditableFormFields` have `ParentID` == 0. They are not assigned to any page, cannot be deleted from CMS.
Maybe the addfield() method in the FieldEditor class should not write the created field. Then, client javascript has to make some unique ID, ID < 0, and then the fields (with ID < 0) should be created and written in the saveInto().
Cheers
Andy -
Re: Forlorn EditableFormFields in database

6 June 2007 at 5:22pm Last edited: 7 June 2007 2:30pm
P.S. There's more of weird behaviour of the FieldEditor:
- remove some fields and go to another page. No 'Unsaved Changes' dialog is shown and you can jump to another page directly.
- add some new fields, go to another page and choose 'Discard changes' in the 'Unsaved Changes' dialog. When you return, you see, that changes has not been discarded (i.e., the added fields are still there)
- 'Cancel draft changes' function (aka rollback), does not work.
| 957 Views | ||
|
Page:
1
|
Go to Top |

