function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
YP25YP25 

Vendor registration form

Create a vendor registration form
Heading: vendor Registration form
Fields: vendor company name(text)
vendor contact person (text)
amount per event (text)
city (text)
country (text)
Buttons: send email |reset| generate pdf
(on press of send email button, the mail is to be sent to ceo)
Validation:
1.vendor name is mandatory 
2.if amount is blank,he can not click on 'send email' button
 3.generate pdf not possible when city and country not mentioned.

When click on generate pdf button we need to create pdf with vendors information
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

If you are using looking for inside the salesforce org  you can just create a object with name as Vendor and create the above fields and add all the required fields to the layout.

For buttons you have to create the button and write the logic for the same . 

You have to use renderaspdf for converting the page to pdf format. Please find the below attached article for the same.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_renderas.htm

Let me know if you need any further help.

If this solution helps, Please mark it as best answer.

Thanks,