Jump to content


add and edit form in two columns

columns add edit

  • Please log in to reply
2 replies to this topic

#1 kenshicu

kenshicu

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationHolguín, Cuba

Posted 05 December 2012 - 09:52 PM

as I can in the form of add or edit, put the input, selectbox in two columns? :wacko:

#2 kenshicu

kenshicu

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationHolguín, Cuba

Posted 16 March 2013 - 10:22 PM

I created something about it, in add.php and edit.php files in the path:
(assets\grocery_crud\themes\flexigrid\views\)

I added this code to test, still not finished.
 

<?php    if( $counter <= 45) { ?>
<div style="float:left;">
<?php   } ?>    

<?php    if( $counter > 45) { ?>
<div style="float:right;">
<?php   } ?>


before the line:

<div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box">



with the intention of using more space on the screen, look something like this:

http://s15.postimage...dd_record10.jpg

good ideas are welcome :)



#3 putoyair

putoyair

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 22 March 2013 - 06:22 AM

How did you did it? 

 

I created something about it, in add.php and edit.php files in the path:
(assets\grocery_crud\themes\flexigrid\views\)

I added this code to test, still not finished.
 

<?php    if( $counter <= 45) { ?>
<div style="float:left;">
<?php   } ?>    

<?php    if( $counter > 45) { ?>
<div style="float:right;">
<?php   } ?>


before the line:

<div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box">



with the intention of using more space on the screen, look something like this:

http://s15.postimage...dd_record10.jpg

good ideas are welcome :)

 

 

Sir How did you did it? Can you share some code to keep some space?







Also tagged with one or more of these keywords: columns, add, edit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users