Button Style and Cancel action
Posted: 06 Jan 2018
Could somebody help me with customizing the Button Style and OnClick action of a new CANCEL button. i'm using V3.1.4
I've found various pieces of CSS code but it's not applying it to my new "CANCEL" button, which should be bigger and have a distinct color.
I've only seen that I can adjust the width, but not the height.
This form is a sub-form which is opened from another (main) form I use for navigational purposes using the "Related Items" control.
Once this subform is opened and user decided to cancel then - When new cancel button is clicked - it should exit the sub-form (without saving) and go back to the main form, which i use for navigation.
i'm using the code below "onclick" for SAVE - but can't get it to work when somebody clicks CANCEL
fd.onsubmit(function() {
fd.sourceFormParam('fd_Item_DisplayForm.aspx?ID=' + GetUrlKeyValue('ID'));
return true;
});
Much appreciated!
I've found various pieces of CSS code but it's not applying it to my new "CANCEL" button, which should be bigger and have a distinct color.
I've only seen that I can adjust the width, but not the height.
This form is a sub-form which is opened from another (main) form I use for navigational purposes using the "Related Items" control.
Once this subform is opened and user decided to cancel then - When new cancel button is clicked - it should exit the sub-form (without saving) and go back to the main form, which i use for navigation.
i'm using the code below "onclick" for SAVE - but can't get it to work when somebody clicks CANCEL
fd.onsubmit(function() {
fd.sourceFormParam('fd_Item_DisplayForm.aspx?ID=' + GetUrlKeyValue('ID'));
return true;
});
Much appreciated!