Skip to main content
Topic: Several fields in the same row. (Read 1092 times) previous topic - next topic

Several fields in the same row.

Hello:

How can I show many fields in the same form row?

Example:
Row1:    Name:__________________   Lastname: _____________________   Age: ________________
Row2:    Address:__________________________________________________________________________

Can it be done in VIEW /EDIT pages ? Or it can be only done in ADD pages?
Thanks

Re: Several fields in the same row.

Reply #1
@diegoh‍ it can only be done on the add page and edit page. For the add and the view page please use FieldWidth in Add/Edit page Field Properties, to set the field for each field and this would arrange your fields (E.g setting your first two fields, FieldWidth to col-md-6 makes the two fields share the same row and setting your first three fields, FieldWidth to col-md-4 makes the three fields appear on the same row). If you want to change the design for the view page, please edit the view page as a custom by clicking the custom checkbox beside the page name and you can then write your HTML code.

Note: phprad uses bootstrap, you can read more about bootstrap grid here.