Skip to main content
i create one object (question type ) Fields is   1)Questions (dropdown)

 

                                                                                  2)Answers  (Drop down)

 

                                                                                            values is objective,integer,rating

 

                                                                                  3)Select  (Drop down)

 

                                                                                           Yes,No,1,2,3,4,5

 

Objective is yes ,no.  Rating is 1,2,3,4,5. but i want integer is Text Field  and field depended also.

 

Questions,Answers,Select  Picklists is FIeld Depended.

 

i want using visualforce page when ever i select one question in drop down display the Answers . i select Answers in drop down display the Radio button that is yes, No.  whenever i click on Radio button after i save that record wil stored into the Question type object.
2 个回答
  1. 2011年5月2日 15:40
    Thylak

     

    What is the end result you are looking to achieve? if I understand your requirements correctly you want to:

     

    1) Be able to store and display questions (Text)

     

    2) Have an Answer Type (Objective, Integer, Rating)

     

    3) Record an Answer (Which will consist of a value of Yes, No, 1, 2, 3, 4, 5)

     

    Is this correct?

     

    If so can you explain a bit more of the purpose behind this construction? Is it for a quiz application, for surveys, driving the backend for some other type of Web or Mobile application etc....
0/9000