TestForm.sql 755 Bytes
Newer Older
Carsten  Rose's avatar
Carsten Rose committed
1
# Form: Small
2
3
4
5
6
7
8
INSERT INTO Form (id, name, title, noteInternal, tableName, permitNew, permitEdit, render, multiSql, parameter) VALUES
  (3, 'phpunit_person',
   'Person {{SELECT ": ", firstName, " ", name, " (", id, ")" FROM Person WHERE id = {{recordId:S0}}}}',
   'Please secure the form',
   'Person', 'always', 'always', 'bootstrap', '', '');

# FormEditor: FormElements
Carsten  Rose's avatar
Carsten Rose committed
9
10
INSERT INTO FormElement (id, formId, name, label, mode, type, class, ord, size, maxLength, note, clientJs, value, sql1,
                         parameter, feIdContainer, modeSql)
11
VALUES
Carsten  Rose's avatar
Carsten Rose committed
12
13
(200, 3, 'name', 'Name', 'show', 'text', 'native', 10, 50, 255, '', '', '', '', '', 0, ''),
(201, 3, 'firstName', 'Firstname', 'show', 'text', 'native', 10, 50, 255, '', '', '', '', '', 0, '');