Skip to content

Form handlebars #1338

Description

@T-Doschke

in the form.handlebar
you cant set class for checkbox, switch or radio button.
Second thing is missing a feature for defining a field into new line.

i have created a ownform.handelbar to fix this:

ownform.zip

maybe you change your form.handlebars to have this features for all users.

Select ' ownform' as component,
' action.sql' as action;

select 'field1' as name, 'field1' as label,
'text' as type, 4 as width;

select 'checkbox' as name, 'checkbox' as label,
'checkbox' as type, 2 as width;

select 'field2' as name, 'Field2' as label,
'text' as type, 4 as width, 1 as newline;

so you get
Field1 checkbox
Field2
on the screen.

with default css the size of checkbox and text is different so it looks not pretty well.
style.zip

with first line in sql code:
Select 'dynamic' as component, sqlpage.run_sql('shell.sql') as properties;

you can load other font and other css to have this fixed.
I think this can be helpfull to other users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions