Custom button next to "Save" and "Cancel" on Edit Form
Is it possible, through a UI Model, to add a custom button to an edit form, next to the Save and Cancel buttons?
My edit form is a bunch of tabs, and I want a "Clear All Criteria" button visible at all times, and possibly a "Validate" button. Just not sure how to do this.
My edit form is a bunch of tabs, and I want a "Clear All Criteria" button visible at all times, and possibly a "Validate" button. Just not sure how to do this.
0
Comments
-
The only way I'm aware of would be to use some javascript in your UI Model to dynamically create (or reposition) buttons at that location. If you're generating the HTML for your form already though, you could try to move the buttons outside of your tabbed container. That should allow you to reposition the buttons with only some CSS rules.0
-
Hi Rick
We have created a totally new form with different actions. Adding them in the UIAction section of the form exposes them to the UI model, which can then be used to call a stored proc when the button is clicked.
<c:UIActions>
<c:UIAction ActionID="KEEP" Caption="Keep" Description="Keep" />
<c:UIAction ActionID="REJECT" Caption="Reject" Description="Reject" />
<c:UIAction ActionID="ACCEPTLETTER" Caption="Accept farewell letter only" Description="Accept farewell letter only" />
</c:UIActions>
<c:DialogActions>
<c:UIAction ActionID="KEEP" />
<c:UIAction ActionID="REJECT" />
<c:UIAction ActionID="ACCEPTLETTER" />
<c:Cancel Caption="Close" />
</c:DialogActions>
You then over-ride the SaveDetails method with a custom one.
private void SaveDetails()
{
RequestContext requestContext = this.GetRequestContext();
string validationResult = "";
if (saveMode == SaveMode.KEEP)
{
validationResult = "KEEP";
}
if (saveMode == SaveMode.ACCEPTLETTER)
{
validationResult = "ACCEPT FAREWELL LETTER ONLY";
}
if (saveMode == SaveMode.REJECT)
{
validationResult = "REJECT";
}
etc....
There is no Java script involved
Happy to send the full .cs if you would like it,
Phil
3
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


