Header with sub heading

Certified Senior Developer

How to create that type of interface

  Discussion posts and replies are publicly visible

Parents
  • a!localVariables(
      local!data: a!map(name: 155353, unit1Grade: "Test1", unit1Code: "Test2", unit1SchemeCode: "Test3", unit2Grade: "Test1", unit2Code: "Test2", unit2SchemeCode: "Test3"),
    
      a!formLayout(
        contents: {
          a!richTextDisplayField(
            labelPosition: "COLLAPSED",
            value: {
              a!richTextItem(
                text: "Candidate Details",
                size: "LARGE"
              )
            }
          ),
          a!columnsLayout(
            showDividers: true,
            columns: {
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    label: "CondidateName",
                    value: {
                      a!richTextItem(
                        text: local!data.name
                      )
                    }
                  )
                }
              ),
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    labelPosition: "COLLAPSED",
                    align: "CENTER",
                    value: {
                      a!richTextItem(
                        text: "Unit1",
                        style: "STRONG"
                      )
                    }
                  ),
                  a!columnsLayout(
                    columns: {
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "centreGrade",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1Grade
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "unitCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1Code
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "schemeCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1SchemeCode
                              )
                            }
                          )
                        }
                      )
                    }
                  )
                }
              ),
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    labelPosition: "COLLAPSED",
                    align: "CENTER",
                    value: {
                      a!richTextItem(
                        text: "Unit2",
                        style: "STRONG"
                      )
                    }
                  ),
                  a!columnsLayout(
                    columns: {
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "centreGrade",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2Grade
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "unitCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2Code
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "schemeCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2SchemeCode
                              )
                            }
                          )
                        }
                      )
                    }
                  )
                }
              )
            }
          )
        }
      )
    )

Reply
  • a!localVariables(
      local!data: a!map(name: 155353, unit1Grade: "Test1", unit1Code: "Test2", unit1SchemeCode: "Test3", unit2Grade: "Test1", unit2Code: "Test2", unit2SchemeCode: "Test3"),
    
      a!formLayout(
        contents: {
          a!richTextDisplayField(
            labelPosition: "COLLAPSED",
            value: {
              a!richTextItem(
                text: "Candidate Details",
                size: "LARGE"
              )
            }
          ),
          a!columnsLayout(
            showDividers: true,
            columns: {
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    label: "CondidateName",
                    value: {
                      a!richTextItem(
                        text: local!data.name
                      )
                    }
                  )
                }
              ),
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    labelPosition: "COLLAPSED",
                    align: "CENTER",
                    value: {
                      a!richTextItem(
                        text: "Unit1",
                        style: "STRONG"
                      )
                    }
                  ),
                  a!columnsLayout(
                    columns: {
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "centreGrade",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1Grade
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "unitCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1Code
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "schemeCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit1SchemeCode
                              )
                            }
                          )
                        }
                      )
                    }
                  )
                }
              ),
              a!columnLayout(
                contents: {
                  a!richTextDisplayField(
                    labelPosition: "COLLAPSED",
                    align: "CENTER",
                    value: {
                      a!richTextItem(
                        text: "Unit2",
                        style: "STRONG"
                      )
                    }
                  ),
                  a!columnsLayout(
                    columns: {
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "centreGrade",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2Grade
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "unitCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2Code
                              )
                            }
                          )
                        }
                      ),
                      a!columnLayout(
                        contents: {
                          a!richTextDisplayField(
                            labelPosition: "COLLAPSED",
                            value: {
                              a!richTextItem(
                                text: "schemeCode",
                                style: "STRONG"
                              ),
                              char(13),
                              a!richTextItem(
                                text: local!data.unit2SchemeCode
                              )
                            }
                          )
                        }
                      )
                    }
                  )
                }
              )
            }
          )
        }
      )
    )

Children
No Data