Timeline for Preventing a reload/refresh on form submit in Lightning
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2019 at 8:25 | answer | added | Vinod Rondla | timeline score: 0 | |
Jul 22, 2018 at 4:06 | history | tweeted | twitter.com/StackSalesforce/status/1020882808049463296 | ||
Apr 3, 2017 at 18:33 | answer | added | Daniel Sokolowski | timeline score: 1 | |
Apr 3, 2017 at 18:25 | comment | added | Daniel Sokolowski |
Using submit type button triggers browser's HTML5 form validation. So it's nice to leverage that, do the submission through AJAX but then prevent the actual page reload - very trivial in plain HTML/JS but apparently complicated in Lighting.
|
|
Nov 17, 2015 at 10:28 | answer | added | supriyam | timeline score: 2 | |
Nov 17, 2015 at 8:57 | history | edited | Samuel De Rycke | CC BY-SA 3.0 |
added 393 characters in body; edited tags
|
Nov 17, 2015 at 7:45 | comment | added | martin | If you don't want the page to refresh, why are you using a form submission? Couldn't you accomplish the same thing by calling an Aura Enabled apex method on the component's controller? | |
S Nov 17, 2015 at 7:42 | history | edited | martin | CC BY-SA 3.0 |
i am using salesforce lightning
|
S Nov 17, 2015 at 7:42 | history | suggested | supriyam | CC BY-SA 3.0 |
i am using salesforce lightning
|
Nov 17, 2015 at 7:31 | review | Suggested edits | |||
S Nov 17, 2015 at 7:42 | |||||
Nov 17, 2015 at 5:41 | answer | added | Himanshu | timeline score: 1 | |
Nov 17, 2015 at 5:11 | comment | added | canyoucatchme | that looks lie your visualforce page. What about your apex class related to the VF page? That would have the code for the button's behaviour.... | |
Nov 17, 2015 at 4:54 | history | edited | martin | CC BY-SA 3.0 |
code formatting
|
Nov 17, 2015 at 4:21 | review | First posts | |||
Nov 17, 2015 at 4:54 | |||||
Nov 17, 2015 at 4:21 | history | asked | supriyam | CC BY-SA 3.0 |