Jump to content

Filling page created by inputfield


mel47
 Share

Recommended Posts

Hello,

I need help to solve my problem.

In a template (event), I have 2 pageRef fields (organizer and location). Organizer's template contains address and something else. Location is mostly address. I have 2 cases: OrganizerA+location B or OrganizerA+LocationA.

  • How I could avoid to duplicate data in case 2 (since address details are already found in organizer's page)?
  • In the case 1 where I create a new entry. Unless I'm missing something, it created only title. Where (and how) I should add a hook like : after saving, if new location, redirect to this location's page? Or any other solution to be sure that other fields will be filled by the user.

Thanks!

Mel

Link to comment
Share on other sites

Hi,

"How I could avoid to duplicate data in case 2 (since address details are already found in organizer's page)?"
You can create an Address template and assign addresses to both Organizers and Locations via PageReference Fields.

I do not really follow your second question. Can you give us a step-by-step example? 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...