Hii All,
can anyone help me for one senerio . I want that to collapsible field
For Example :
a!paragraphField( label: "Target", labelPosition: "ABOVE", value: index(local!target,"target",{}), refreshAfter: "UNFOCUS", characterLimit: null, height: "SHORT", readOnly: true, validations: {} )
I am using paragraph field for showing data then i want only some of the text only show when I click on the that text then the list of the text will show .
Thanks
Discussion posts and replies are publicly visible
Hello jyotig0003,
If it is only for the display purpose may be you can use the richTextDisplayField().
Below is an example of how you can achieve. You can also write a dynamic rule to achieve this.
a!localVariables( local!view: 0, local!text: "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).", local!small: left(local!text, 100), { a!richTextDisplayField( label: "Lorem Ipsum", labelPosition: "JUSTIFIED", value: { a!richTextItem( text: if( local!view = 1, local!text, local!small & "...." ) ), char(32), a!richTextItem( text: if(local!view = 1, "(Less)", "(More)"), link: a!dynamicLink( value: if(local!view = 1, 0, 1), saveInto: local!view ), linkStyle: "STANDALONE" ) } ), } )
I hope this was your query.
Thank you Konduru Chaitanya , its work fine