Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
6 subscribers
Views
2194 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I am trying to have a list of buttons in my Tempo form (I am running 7.4). I
saram
over 11 years ago
Hi, I am trying to have a list of buttons in my Tempo form (I am running 7.4). In my a!formLayout, I wrote:
a!buttonLayout(
primaryButtons: {
a!buttonWidget(
label: "Save and Close",
style: "PRIMARY",
confirmMessage: "Are you sure you want to send to approvers?",
value: "Submit",
saveInto:ri!button
),
a!buttonWidget(
label: "Exit",
style: "DESTRUCTIVE",
confirmMessage: "Are you sure you want to exit?",
value: "Exit",
saveInto:ri!button
)
}
)
but it doesn't work. Could you help me?
Thanks...
OriginalPostID-96333
OriginalPostID-96333
Discussion posts and replies are publicly visible
Parents
0
saram
over 11 years ago
= a!formLayout(
label: "Investment Form",
firstColumnContents: {
a!milestoneField(
label: "Process Flow Chart",
instructions: "Get the step where you are!",
steps: {
cons!processSteps
},
active: ri!step
),
a!sectionLayout(
label: "Investment General Data",
firstColumnContents: {
a!textField(
label: "Project Name",
required: true,
value: ri!projectName,
saveInto: ri!projectName
),
a!floatingPointField(
label: "Amount",
required: true,
value: ri!amountInv,
saveInto: ri!amountInv
),
a!radioButtonField(
label: "To be presented in Committee",
required: true,
choiceLabels: {
"Yes",
"No"
},
choiceValues: {
"Yes",
"No"
},
value: ri!commiteePresented,
saveInto: ri!commiteePresented
),
a!dateField(
label: "Investment Starting Date",
value: today(),
saveInto: ri!date
),
a!fileUploadField(
label: "Attachment",
instructions: "Any format is acceptable.",
required: false,
target: ri!folderDest,
value: ri!file,
saveInto: ri!file
)
},
secondColumnContents: {
a!dropdownField(
label: "Project Type",
labelPosition: "ADJACENT",
required: true,
placeholderLabel: "Select a project type...",
choiceLabels: {
cons!projectType
},
choiceValues: {
cons!projectType
},
value: ri!projectType,
saveInto: ri!projectType
),
a!dateField(
label: "Date Submitted",
readOnly: true,
value: date(
2013,
1,
20
)
)
}
)
},
a!buttonLayout(
primaryButtons: {
a!buttonWidget(
label: "Save and Close",
style: "PRIMARY",
confirmMessage: "Are you sure you want to send to approvers?",
value: "Submit",
saveInto: ri!button
),
a!buttonWidget(
label: "Exit",
style: "DESTRUCTIVE",
confirmMessage: "Are you sure you want to exit?",
value: "Exit",
saveInto: ri!button
)
}
)
)
this is all my code but it says "Expression evaluation error in rule 'formsailrecipe'".
My input rule includes button.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
saram
over 11 years ago
= a!formLayout(
label: "Investment Form",
firstColumnContents: {
a!milestoneField(
label: "Process Flow Chart",
instructions: "Get the step where you are!",
steps: {
cons!processSteps
},
active: ri!step
),
a!sectionLayout(
label: "Investment General Data",
firstColumnContents: {
a!textField(
label: "Project Name",
required: true,
value: ri!projectName,
saveInto: ri!projectName
),
a!floatingPointField(
label: "Amount",
required: true,
value: ri!amountInv,
saveInto: ri!amountInv
),
a!radioButtonField(
label: "To be presented in Committee",
required: true,
choiceLabels: {
"Yes",
"No"
},
choiceValues: {
"Yes",
"No"
},
value: ri!commiteePresented,
saveInto: ri!commiteePresented
),
a!dateField(
label: "Investment Starting Date",
value: today(),
saveInto: ri!date
),
a!fileUploadField(
label: "Attachment",
instructions: "Any format is acceptable.",
required: false,
target: ri!folderDest,
value: ri!file,
saveInto: ri!file
)
},
secondColumnContents: {
a!dropdownField(
label: "Project Type",
labelPosition: "ADJACENT",
required: true,
placeholderLabel: "Select a project type...",
choiceLabels: {
cons!projectType
},
choiceValues: {
cons!projectType
},
value: ri!projectType,
saveInto: ri!projectType
),
a!dateField(
label: "Date Submitted",
readOnly: true,
value: date(
2013,
1,
20
)
)
}
)
},
a!buttonLayout(
primaryButtons: {
a!buttonWidget(
label: "Save and Close",
style: "PRIMARY",
confirmMessage: "Are you sure you want to send to approvers?",
value: "Submit",
saveInto: ri!button
),
a!buttonWidget(
label: "Exit",
style: "DESTRUCTIVE",
confirmMessage: "Are you sure you want to exit?",
value: "Exit",
saveInto: ri!button
)
}
)
)
this is all my code but it says "Expression evaluation error in rule 'formsailrecipe'".
My input rule includes button.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data