Try this code..
a!wizardLayout(
titleBar: a!headerTemplateSimple(
title: if(
ri!isUpdate,
"Update Post Job",
"Add New Job"
),
secondaryText: if(
ri!isUpdate,
"Update details for the post job",
"Enter details of the job posting"
),
titleColor: "STANDARD",
stampIcon: ""
),
isTitleBarFixed: true,
backgroundColor: "#fbfbfb",
steps: {
a!wizardStep(
label: "Details",
contents: {
a!cardLayout(
contents: {
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!textField(
label: "Company Name",
labelPosition: "ABOVE",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{c08fdd20-8d7d-4d7b-87b9-5b77cddf1ae0}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{c08fdd20-8d7d-4d7b-87b9-5b77cddf1ae0}'],
characterLimit: 255,
showCharacterCount: false,
required: true
)
}
),
a!columnLayout(
contents: {
a!textField(
label: "Skills Needed",
labelPosition: "ABOVE",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{2a4a6efb-1880-4885-9769-657d9a0d3d7a}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{2a4a6efb-1880-4885-9769-657d9a0d3d7a}'],
characterLimit: 255,
showCharacterCount: false,
required: true,
marginAbove: "LESS"
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
choiceValues: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
label: "Min. Experience (Yrs)",
labelPosition: "ABOVE",
placeholder: "--- Select Experience ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{3233cbf5-b9ea-425b-89de-87ca9f43de61}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{3233cbf5-b9ea-425b-89de-87ca9f43de61}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {"Full-TIme", "Part-Time", "Contract", "Internship"},
choiceValues: {"Full-TIme", "Part-Time", "Contract", "Internship"},
label: "Job Type",
labelPosition: "ABOVE",
placeholder: "--- Select Job Type ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{25d8c2b9-a722-4827-9a7d-576007cf1ec8}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{25d8c2b9-a722-4827-9a7d-576007cf1ec8}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {"On-Site", "Remote", "Hybrid"},
choiceValues: {"On-Site", "Remote", "Hybrid"},
label: "Remote",
labelPosition: "ABOVE",
placeholder: "--- Select Remote ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{a5c53423-da0f-45a2-9bd2-2632c0d6fd2d}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{a5c53423-da0f-45a2-9bd2-2632c0d6fd2d}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {"IT Services and IT Consulting", "Professional Services"},
choiceValues: {"IT Services and IT Consulting", "Professional Services"},
label: "Industry",
labelPosition: "ABOVE",
placeholder: "--- Select Industry ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{209d8ba4-7627-472e-84a3-92a0e38177c0}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{209d8ba4-7627-472e-84a3-92a0e38177c0}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {"Information Technology", "Management", "Manufacturing", "Engineering", "Other"},
choiceValues: {"Information Technology", "Management", "Manufacturing", "Engineering", "Other"},
label: "Job Function",
labelPosition: "ABOVE",
placeholder: "--- Select Job Function ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{deb3b8e4-e17f-4a87-b5eb-3dc96637c3fa}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{deb3b8e4-e17f-4a87-b5eb-3dc96637c3fa}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!dropdownField(
choiceLabels: {"Software Engineer", "Development Specialist", "Technical Specialist", "Operational Specialist", "Lead Technician", "Lead Associate", "Automation Specialist", "Technical Architect"},
choiceValues: {"Software Engineer", "Development Specialist", "Technical Specialist", "Operational Specialist", "Lead Technician", "Lead Associate", "Automation Specialist", "Technical Architect"},
label: "Title",
labelPosition: "ABOVE",
placeholder: "--- Select Title ---",
value: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{c9d3f040-1296-443d-9ba0-f85ab5bdf9d0}'],
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{c9d3f040-1296-443d-9ba0-f85ab5bdf9d0}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
)
}
),
a!columnsLayout(
columns: {
a!columnLayout(
contents: {
a!multipleDropdownField(
choiceLabels: {
"Medical Insurance",
"Vision Insurance",
"Dental Insurance",
"Pension Plan",
"Paid Maternity Leave",
"Paid Paternity Leave",
"Commuter Benifits",
"Disability Insurance"
},
choiceValues: {
"Medical Insurance",
"Vision Insurance",
"Dental Insurance",
"Pension Plan",
"Paid Maternity Leave",
"Paid Paternity Leave",
"Commuter Benifits",
"Disability Insurance"
},
label: "Benifits",
labelPosition: "ABOVE",
placeholder: "--- Select Benefits ---",
value: if(
a!isNullOrEmpty(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{0774c72a-97f4-4ec1-a160-b5eaba2af359}']
),
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{0774c72a-97f4-4ec1-a160-b5eaba2af359}'],
split(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{0774c72a-97f4-4ec1-a160-b5eaba2af359}'],
"; "
)
),
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{0774c72a-97f4-4ec1-a160-b5eaba2af359}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
),
a!columnLayout(
contents: {
a!multipleDropdownField(
choiceLabels: {"Career Growth and Learning", "Work-Life Balance", "Environment Sustainability"},
choiceValues: {"Career Growth and Learning", "Work-Life Balance", "Environment Sustainability"},
label: "Commitment",
labelPosition: "ABOVE",
placeholder: "--- Select Commitments ---",
value: if(
a!isNullOrEmpty(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{f56371d2-87b6-4f6e-a0fe-b4eabcaeaa51}']
),
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{f56371d2-87b6-4f6e-a0fe-b4eabcaeaa51}'],
split(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{f56371d2-87b6-4f6e-a0fe-b4eabcaeaa51}'],
"; "
)
),
saveInto: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.fields.{f56371d2-87b6-4f6e-a0fe-b4eabcaeaa51}'],
searchDisplay: "AUTO",
required: true,
validations: {}
)
}
)
}
)
},
width: "WIDE"
)
}
)
},
style: "NONE",
shape: "SEMI_ROUNDED",
padding: "MORE"
)
}
),
a!wizardStep(
label: "Location",
contents: {
a!cardLayout(
contents: {
a!gridLayout(
label: "Location",
labelPosition: "COLLAPSED",
instructions: "Enter locations for the post job",
headerCells: {
a!gridLayoutHeaderCell(label: "Location"),
a!gridLayoutHeaderCell()
},
columnConfigs: {
a!gridLayoutColumnConfig(width: "NARROW_PLUS"),
a!gridLayoutColumnConfig(width: "ICON")
},
rows: a!forEach(
items: ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'],
expression: a!gridRowLayout(
id: fv!index,
contents: {
a!textField(
value: fv!item['recordType!{ba213b7b-b6ea-4bb2-bafc-e0717f2a0e4e}.fields.{f7c76f4f-6417-40e6-b6a3-47a2cf7315e4}'],
saveInto: fv!item['recordType!{ba213b7b-b6ea-4bb2-bafc-e0717f2a0e4e}.fields.{f7c76f4f-6417-40e6-b6a3-47a2cf7315e4}'],
characterLimit: 255,
showCharacterCount: false
),
a!imageField(
images: a!documentImage(
document: a!iconIndicator(icon: "REMOVE"),
altText: "Remove Row" & char(32) & fv!index + 1,
link: a!dynamicLink(
value: fv!index,
saveInto: {
a!save(
ri!deletedLocationRecords,
if(
a!isNotNullOrEmpty(ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'][save!value]['recordType!{ba213b7b-b6ea-4bb2-bafc-e0717f2a0e4e}.fields.{1f09a335-8419-4f2d-a33a-c2043528b38d}']),
append(ri!deletedLocationRecords, ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'][save!value]),
ri!deletedLocationRecords
)
),
a!save(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'],
remove(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'],
save!value
)
)
}
)
),
size: "ICON"
)
}
)
),
height: "AUTO",
addRowLink: a!dynamicLink(
label: "Add Row",
value: 'recordType!{ba213b7b-b6ea-4bb2-bafc-e0717f2a0e4e}'(),
saveInto: a!save(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'],
append(
ri!record['recordType!{7d604f1b-53e2-4718-9165-019b6ea8667a}.relationships.{8a15ce41-acd6-46bc-b355-1fcc53a222db}'],
save!value
)
)
),
shadeAlternateRows: false,
borderStyle: "LIGHT",
rowHeader: 1
)
},
style: "NONE",
shape: "SEMI_ROUNDED",
padding: "MORE"
)
}
)
},
primaryButtons: a!buttonWidget(
label: if(
ri!isUpdate,
"Save",
"Create"
),
submit: true,
style: "SOLID",
showWhen: fv!isLastStep,
validate: true
),
secondaryButtons: a!buttonWidget(
label: "Cancel",
value: true,
saveInto: ri!cancel,
submit: true,
style: "LINK",
validate: false
),
showButtonDivider: true
)