We will add a table to the Income panel. Configure the table rows and use the rule editor to calculate the grand total.
We will now add an income table to our income panel. So, to do that, we log into AEM forms, open the form in the edit mode.
We select the appropriate panel from the content hierarchy here. So, we select the income panel. Click on the income panel here, to open up the insert component dialog box. We select a table from here, and insert the table. So, when you insert a table in an active form, you get a table with two columns and two rows. So, this is the header row, and this is the row one and row two. So, first we need to change the column heading. You select the first column here, click on the pencil icon. And replace the default heading with our heading.
Source of Income. Save the changes. Similar way, we do Income Amounts.
Income Amounts. And save your changes. The next thing we need to do is replace the default cell types, under row one. So, the default cell types is of type text box. First thing, we need to replace that, with a Drop-down list. We select that cell, click on the ellipsis, and then click on the replace here. And we select a Drop-down list from this insert new competent dialog box. As you can see, now, the text box is replaced with a Drop-down list. We need to configure this particular Drop-down list. We click on the Drop-down list, click on the range icon, to open up the configuration properties. We set the title to Source of Income. And then we need to add three items to this Drop-down list. The first item would be, Money. The second item would be, Rental Income. The third item can be salary. So, this way we have configured a Drop-down list by setting its title and adding three items to the Drop-down list. Save your changes. In a similar manner. We need to change this particular text box. We replace it with the numeric box. So, we’ll replace it with a numeric box. Then we need to configure it by giving it an appropriate title and setting a default value to a placeholder text . The title would be, Income Amount. and the placeholder text would be, Amount in Dollars. Then we save the changes. So, far we have configured our column headings and replace the default text boxes in row one. Now, we need to configure row two. In row two, the first item that we need to configure is a text box. Select that.
And we set the default value of this particular text box to be Grand Total. Grand Total. Right And then we need to configure the second column in row two. Select the appropriate column, click on the ellipsis and click on the replace button here. Replace it with the numeric box.
Replace it with the numeric box. Then configure the title here. So, the title is going to be Grand Total. -