Jump to content

InputLabelField or general problem


KaMeKuN
 Share

Recommended Posts

Hi every one!, im having a big problem to figure out how to do this in PW

in the front end i have this, a question and answer table for cars models:

post-1401-0-04595500-1382123273_thumb.pn

i do this easy with repeaters, 

post-1401-0-30338000-1382123333_thumb.pn

the problem is the question are not standard now and going vary by the page, i test to do this but i see redundancy Labels questions, because when i add a new  model i have to write the question and the answer (diplicity ).

post-1401-0-43516800-1382123504_thumb.pn

There is a way to resolve this?, sort of creating a template question  or list question select so i can edit o create one from the repeater itself?

PD: how can i hack PW to allow me to use nested repeaters in this case i need it :(

Regards

Link to comment
Share on other sites

Hi kamekun,

Do you use repeaters to store your attributes of the car-models? You shouldn't do that, you may have problems with scaling when having lots of data.

Can you post your site tree? How did your structure your templates?

You could create a Question template, just with a title field, and put the question in the title.

Then in your car-model-template, use a repeater field which has 2 fields:

1) A select dropdown to choose the question

2) A text field to write the answer

Though if you have a lot of questions, then maybe it'll be hard to select the right one...

Cheers

  • Like 1
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

×
×
  • Create New...