Skip to main content
February 14, 2022
Solved

Can we include two forms in one Interface.

  • February 14, 2022
  • 14 replies
  • 0 views

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? 

Best answer by gopalk2865

you cant have another form layout inside a form layout.

14 replies

stefanhelzle0001
Brainy
February 14, 2022

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

February 14, 2022

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.

stefanhelzle0001
Brainy
February 14, 2022
stewart.burchell
February 15, 2022

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.

February 15, 2022

[mention:7628077af4b9463e9533a897fad2351f:e9ed411860ed4f2ba0265705b8793d05]

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

mikes0011
Brainy
February 15, 2022