'fill-in-the-blank' type form input

Hi,

I’m trying to add an input item to my form with a label on both the right and the left, so it reads like: ‘Every ____ weeks’, with an input box as the blank line. Is this possible?

Thanks

Hi
You need to create a custom item.
Here is a demo with it:
dhtmlx.com/docs/products/dht … ustom.html
Here is a documentation of creation:
docs.dhtmlx.com/doku.php?id=dhtm … ustom_item

hi :slight_smile:

<style> div.dhxform_item_label_left.my_inp input.dhxform_textarea { border-left: 1px solid white; border-top: 1px solid white; border-right: 1px solid white; margin-right: 4px; } </style>

myForm = new dhtmlXForm("formContainer", [ {type: "block", list: [ {type: "input", label: "Every", inputWidth: 30, maxLength: 3, className: "my_inp"}, {type: "newcolumn"}, {type: "template", label: "weeks", value:"", inputWidth: 0} ]} ]);