I have created a login page along with the signup page to create a new account. My login page is a standard page and signup page is secondary page with ok and cancel buttons.When i go to my signup page and enter the details and then press ok button the data entered should not be saved in secondary page.After clicking ok button it should come back to the login page.So,I want to know how to save the data entered in the secondary page(signup) in the main page(login) record. Please help me.
I think you're looking for the Modal secondary page:
Check the PeopleCode function DoModal as well. These should provide you the information you're looking for.
May be you should have two standard pages in the component. One for Login and one for Register. Hide the Register page initially and when you click on "Register" link on main login page, transfer to Register page and hide main login page. Once you enter registration details and click on "Register" button call DoSaveNow peoplecode and transfer back to main login page. This is exactly how it works in recruiting external applicant login page.