Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How to display the form elements horizontally in form container???

Vote:
 

Hi Guys,

    I want to display the elements in horizontal way,can any one help me out of this???.Below code represent the form elements in vertical way

   Html.RenderElementsInStep(i, step.Elements)

   Thanks,

   Ramkee.G

#188016
Feb 08, 2018 13:43
Vote:
 

I think this link will help you: https://world.episerver.com/documentation/developer-guides/forms/rendering-a-multi-column-form-container-block/

#188024
Feb 09, 2018 4:03
Vote:
 

Hi Dac Thach Nguyen,can you explain abit about the article,In the above link they didn't provide proper explaination like in which file we have to create RenderFormElements().If you have any idea regarding form container customization explain me.

Thanks,

Kartheek

#188025
Feb 09, 2018 7:35
Vote:
 

The article may be a little bit out date. But you can modify the FormContainerBlock.ascx where you have full control how the form elements are rendered. Is that solving your problem?

#188026
Feb 09, 2018 8:03
Vote:
 

Yes the article is out dated.I'll let you know after after modify.

Thanks,

Kartheek.

#188029
Edited, Feb 09, 2018 8:31
Vote:
 

Hi Dac Thach Nguyen,your suggestion not working after modifying also.If you find any solution please let me know.

Thanks,

Ramkee.G

#188132
Feb 13, 2018 5:51
Vote:
 

@Dac,

do you know if the multi-column documentation you've linked to will be updated any time soon?

#202066
Mar 13, 2019 9:21
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.