Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2151

Re: SimpleForm with ResponsiveGridLayout

$
0
0

Hello Pranav,

 

Thanks for your inputs.

I have tried with the code snippet provided. Here is my code.

<form:SimpleForm layout="ResponsiveGridLayout">

  <form:content>

  <Label text="First Name">

  </Label>

  <Input >

  <layoutData>

  <layout:GridData span="L2 M3 S10"/>

  </layoutData>

  </Input>

  <Label text="Last Name"></Label>

  <Input >

  <layoutData>

  <layout:GridData span="L2 M3 S10"/>

  </layoutData>

  </Input>

  <Button text = "Submit">

  <layoutData>

  <layout:GridData span="L2 M3 S10"/>

  </layoutData>

  </Button>

  </form:content>

</form:SimpleForm>

 

Output:

Target.jpg

However, the output looks different w.r.to my requirement. Can you please help?

Also, what is meant by span="L2 M3 S10"? Can I give this inside <SimpleForm> tag?

 

Regards,

Faddy


Viewing all articles
Browse latest Browse all 2151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>