Skip to main content
10 events
when toggle format what by license comment
Jul 10, 2016 at 21:32 comment added Santanu Boral @MohithShrivastava sfdcfox is correct here
Jul 10, 2016 at 21:29 comment added Mohith Shrivastava @SantanuBoral I just updated my answer but feel sfdcfox is correct to use just standard controller if updates and inserts are only thing user needs apart from styling .Also +1 for your answer .
Jul 10, 2016 at 21:28 history edited Mohith Shrivastava CC BY-SA 3.0
added 15 characters in body
Jul 10, 2016 at 21:21 comment added Santanu Boral @MohithShrivastava, thats true. Thats why I have tried to make it workable for insert and update.
Jul 10, 2016 at 21:19 comment added Mohith Shrivastava @SantanuBoral I am not sure what asker wants on update :) .But if asker wants to refresh ,I agree he needs to remove null and add a pagereference instead
Jul 10, 2016 at 21:17 comment added Santanu Boral @MohithShrivastava, his code will not work on update
Jul 10, 2016 at 21:12 comment added Mohith Shrivastava See valuable comment from sfdcfox that you do not need a controller if its just inserting contact record .
Jul 10, 2016 at 21:09 comment added MaxPyne Thanks Mohit!! I tried this earlier...unfortunaltely I missed the '/' before +newContact.id :)
Jul 10, 2016 at 21:08 vote accept MaxPyne
Jul 10, 2016 at 20:56 history answered Mohith Shrivastava CC BY-SA 3.0