How to add an input box to an edit form?

58 views
Skip to first unread message

Manos Pappas

unread,
Sep 15, 2022, 7:51:38 AM9/15/22
to Jam.py Users Mailing List
Hello,

I have an item which is a table with three fields: field1, field2, field3.
I would like to append next to field2 an input box (in read-only state) in order to display there (but I also want to be able to read back it's value) the maximum value allowed for field2.
How can I append this input box after the field2 data-aware input box on the item edit form?

Many thanks in advance.

Regards,
Manos

Fabio Lenzarini

unread,
Sep 15, 2022, 11:42:56 AM9/15/22
to Jam.py Users Mailing List
Hi Manos,
try this
item.create_inputs(item.edit_form.find(".edit-body"), options);


ciao
Fabio

Manos Pappas

unread,
Sep 16, 2022, 3:13:50 AM9/16/22
to Jam.py Users Mailing List
Hi Fabio,

Somehow I've managed to miss this page on the documentation :)
Thank you for your help!

Drazen D. Babic

unread,
Sep 16, 2022, 5:39:31 AM9/16/22
to Jam.py Users Mailing List
Hi Manos,
not sure if the above link will solve your issue tho. You have to have an database field.

D.

Reply all
Reply to author
Forward
0 new messages