Commit aabfc75b authored by Carsten  Rose's avatar Carsten Rose
Browse files

formEditor.sql: Form 'Form' enhanced. Now contains all elements in a basic way.

parent d68ce338
......@@ -121,17 +121,31 @@ DELIMITER ;
# FormEditor: FormElements
INSERT INTO FormElement (formId, name, label, mode, type, ord, size, maxLength, note, clientJs, value, sql1, sql2, parameter)
VALUES
(1, 'id', 'id', 'readonly', 'input', 10, 30, 10, '', '', '', '', '', ''),
(1, 'name', 'Name', 'show', 'input', 20, 20, 10, '', '', '', '', '', 'autofocus=on'),
(1, 'title', 'Title', 'show', 'input', 30, 10, 10, '', '', '', '', '', ''),
(1, 'noteInternal', 'Note', 'show', 'input', 40, '10,3', 0, '', '', '', '', '', ''),
(1, 'permitNew', 'Permit New', 'show', 'radio', 50, 0, 0, '', '', '', '', '', ''),
(1, 'permitEdit', 'Permit Edit', 'show', 'radio', 60, 0, 0, '', '', '', '', '', 'itemList=hello,world'),
(1, 'render', 'Render', 'show', 'radio', 70, 0, 0, '', '', '', '',
'', ''),
(1, 'multiMode', 'Multi Mode', 'show', 'select', 80, 0, 0, '', '', '', '', '', 'itemList=hello,world'),
(1, 'title', 'Upload', 'show', 'upload', 80, 0, 0, '', '', '', '', '', 'accept=image/*,.pdf'),
(1, 'deleted', 'Deleted', 'show', 'checkbox', 200, 0, 0, '', '', '', '', '', ''),
(1, '', 'FormElements', 'show', 'subrecord', 200, 0, 0, '', '', '', '{{!SELECT * FROM FormElement WHERE formId=1}}', '', '');
(1, 'id', 'id', 'readonly', 'input', 10, 10, 11, '', '', '', '', '', ''),
(1, 'name', 'Name', 'show', 'input', 20, 40, 255, '', '', '', '', '', 'autofocus=on'),
(1, 'title', 'Title', 'show', 'input', 30, 40, 255, '', '', '', '', '', ''),
(1, 'noteInternal', 'Note', 'show', 'input', 40, '40,3', 0, '', '', '', '', '', ''),
(1, 'tableName', 'Table', 'show', 'select', 50, 0, 0, '', '', '', '{{!SHOW tables}}', '', ''),
(1, 'permitNew', 'Permit New', 'show', 'radio', 60, 0, 0, '', '', '', '', '', ''),
(1, 'permitEdit', 'Permit Edit', 'show', 'radio', 70, 0, 0, '', '', '', '', '', ''),
(1, 'permitUrlParameter', 'Permit Url Parameter', 'show', 'input', 80, 40, 255, '', '', '', '', '', ''),
(1, 'render', 'Render', 'show', 'radio', 90, 0, 0, '', '', '', '', '', ''),
(1, 'multiMode', 'Multi Mode', 'show', 'radio', 100, 0, 0, '', '', '', '', '', ''),
(1, 'multiSql', 'Multi SQL', 'show', 'input', 110, '40,3', 0, '', '', '', '', '', ''),
(1, 'multiDetailForm', 'Multi Detail Form', 'show', 'input', 120, 40, 255, '', '', '', '', '', ''),
(1, 'multiDetailFormParameter', 'Multi Detail Form Parameter', 'show', 'input', 130, 40, 255, '', '', '', '', '', ''),
(1, 'forwardMode', 'Forward', 'show', 'radio', 140, 0, 0, '', '', '', '', '', ''),
(1, 'forwardPage', 'Forward Page', 'show', 'input', 150, 40, 255, '', '', '', '', '', ''),
(1, 'bsLabelColumns', 'BS Label Columns', 'show', 'input', 160, 40, 250, '', '', '', '', '', ''),
(1, 'bsInputColumns', 'BS Input Columns', 'show', 'input', 160, 40, 250, '', '', '', '', '', ''),
(1, 'bsNoteColumns', 'BS Note Columns', 'show', 'input', 160, 40, 250, '', '', '', '', '', ''),
(1, 'deleted', 'Deleted', 'show', 'checkbox', 170, 0, 0, '', '', '', '', '', ''),
(1, 'modified', 'Modified', 'readonly', 'input', 180, 40, 20, '', '', '', '', '', ''),
(1, 'created', 'Created', 'readonly', 'input', 180, 40, 20, '', '', '', '', '', ''),
(1, '', 'FormElements', 'show', 'subrecord', 200, 0, 0, '', '', '', '{{!SELECT * FROM FormElement WHERE formId=1}}',
'', '');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment