Rob Posted March 27, 2013 Share Posted March 27, 2013 I'm sure this sounds like a stupid question, but I'd like to replace a number of fields that make up part of a repeater with different fields that are of the same type, but without losing the data they contain. To put it another another way, I want to swap field X for field Y on a template, and then for each page that uses that template, the data that was in field X be copied into field Y. I feel fairly confident that this is going to be a complete pain or simply not possible! Link to comment Share on other sites More sharing options...
Soma Posted March 27, 2013 Share Posted March 27, 2013 What field type are they? X and Y? I don't see any problems doing so what you're saying. Add the fields to the repeater, loop the repeater and assign values from one to the other field and save them. Link to comment Share on other sites More sharing options...
ryan Posted March 29, 2013 Share Posted March 29, 2013 I agree with Soma, it sounds very doable to me. Let us know if you run into any specific problems as you go. Link to comment Share on other sites More sharing options...
Rob Posted April 2, 2013 Author Share Posted April 2, 2013 Ah....I think I just had a lightbulb moment. So you're saying that the easiest thing would be to iterate the repeater pages (under admin) therefore avoiding the issue of having to iterate the parent pages themselves filtered by those using the repeater. I'll give it a try! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now