Skip to main content
Inspiring
Feb 14, 2022 4:59 PM UTC
Solved

Can we include two forms in one Interface.

Hi,

Can we include two or more forms in one Interface. 

I'm using section layout to include other interfaces which has forms(save button) but it is showing error.

Is there any alternative method? 

gopalk2865
Participating Frequently
Feb 15, 2022 5:56 AM UTC

you cant have another form layout inside a form layout.

14 replies

stefanhelzle0001
Brainy
Feb 14, 2022 5:13 PM UTC

Please explain your use case i more detail. In general, you can do that, but not with nested top-level layouts.

Inspiring
Feb 14, 2022 5:29 PM UTC

https://docs.appian.com/suite/help/21.4/recipe-configure-a-dropdown-field-to-save-a-cdt.html 

[mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]  In the above example, I have Food type dropdown and submit button.

I want another category of dropdown with submit button in the same interface but in another section.

stewart.burchell
Employee
Feb 15, 2022 8:57 AM UTC

If your use case is to make re-use of functionality that currently exists inside two separate user interfaces that are both defined inside a form layout then you will need to do a little refactoring. As [mention:8b930cc189ea4ddf8fcb9c275d619049:e9ed411860ed4f2ba0265705b8793d05] has mentioned you cannot nest form layouts. But you could decompose your existing user interfaces to have the content inside the form layouts encapsulated in their own interface rules. Once these are separated from the form layout you can make use of them elsewhere.

Inspiring
Feb 15, 2022 9:12 AM UTC

[mention:7628077af4b9463e9533a897fad2351f:e9ed411860ed4f2ba0265705b8793d05]

Could you please share the sample code so that I can better understand?

mikes0011
Brainy
Feb 15, 2022 2:59 PM UTC