You need to sign in to do that
Don't have an account?
Sainath Venkat
Visualforce page to show created records one by one
Is it possible to create and show created record in vf page one by one.
I have one VF Page which is having Input Field Barcode__c which is text, the moment I click save it creates record which is working perfectly.
Now I want to reset the input field to enter data to create another record but VF Page should have table below to show created records.
Can anyone help me out in this issue
I have one VF Page which is having Input Field Barcode__c which is text, the moment I click save it creates record which is working perfectly.
Now I want to reset the input field to enter data to create another record but VF Page should have table below to show created records.
Can anyone help me out in this issue
<apex:page standardController="Staging_Event_Attendee__c" lightningStylesheets="true" > <apex:form> <apex:pageBlock> <apex:pageBlockSection> <apex:inputField value="{!Staging_Event_Attendee__c.Barcode__c }"/> </apex:pageBlockSection> <apex:pageblockButtons > <apex:commandButton value="save" action="{!save}"/> </apex:pageblockButtons> </apex:pageBlock> </apex:form> </apex:page>
Please follow the given below Code with the help of code you can solve your problem, it may be helpful to you.
Please change the Name of the Object according to your requirement, I have used Account object in below code.
VF page code :
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha