doolak Posted April 29, 2015 Posted April 29, 2015 Hi there, I am trying to use an options field in a repeater to offer the possibility to choose the kind of input which will be shown in that element: If one choose "Text", just the textarea will be shown, if one choose "Foto", just an image can be added. This works fine so far, but if I add content to the textarea or choose an image and save the page, those contents are not saved. Any idea if I just make something wrong or will that just not work in that way? Cheers, Christian 1
doolak Posted April 29, 2015 Author Posted April 29, 2015 Made a short test now and found out that it will work when it is used without a repeater - guess it is not supported right now to use it in a repeater field... If that could be fixed, would be so great!
LostKobrakai Posted April 29, 2015 Posted April 29, 2015 The culpit is not the new Options fieldtype, but repeaters not being officially supported.
doolak Posted April 29, 2015 Author Posted April 29, 2015 Yes, the problem is not the Options fieldtype - it seems that although the Inputfield Dependencies are working in a repeater, the content of a field is not saved if it has a dependency.
Nico Knoll Posted April 30, 2015 Posted April 30, 2015 Had the same problem before... Everybody told be to use "pagetableextended" instead. Here's my original post/wish: https://processwire.com/talk/topic/9170-view-dependency-support-in-repeater-or-pagetableinline/ (you could add a post at the bottom of my post to support this wish ) 1
doolak Posted April 30, 2015 Author Posted April 30, 2015 Great, so you seem to work with a similar "contentblock-syste," for you backends ;-) Will support your wish and have a deeper look into "pagetableextend" - never used this until now...
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