Survey embedded in pagebuilder

Options

This survey was created before we went live, by Convio. The survey is emnedded in a pagebuilder page - users are directed to that page, not actual survey.

Users are filling out the form and getting an error when entering their state in the drop down boxes. I am looking at the survey and seeing that only two states are in the drop down box as options. Do you think that is why it's rendering an error?

One more question, is there any tool that allows you to add all the states to a drop down on a survey without manually typing in each one?

Thanks!

Tagged:

Comments

  • Yes, if the state question is required, and only two options are configured in the Survey, a user selecting any other state would cause an error. Here's a list of all the states, provinces, and territories that you can copy and paste:

    AK

    AL

    AR

    AZ

    CA

    CO

    CT

    DC

    DE

    FL

    GA

    HI

    IA

    ID

    IL

    IN

    KS

    KY

    LA

    MA

    MD

    ME

    MI

    MN

    MO

    MS

    MT

    NC

    ND

    NE

    NH

    NJ

    NM

    NV

    NY

    OH

    OK

    OR

    PA

    RI

    SC

    SD

    TN

    TX

    UT

    VA

    VT

    WA

    WI

    WV

    WY

    AS

    FM

    GU

    MH

    MP

    PR

    PW

    VI

    AA

    AE

    AP

    AB

    BC

    MB

    NB

    NL

    NS

    NT

    NU

    ON

    PE

    QC

    SK

    YT

    None

  • Noah Cooper:

    Yes, if the state question is required, and only two options are configured in the Survey, a user selecting any other state would cause an error. Here's a list of all the states, provinces, and territories that you can copy and paste:

    AK

    AL

    AR

    AZ

    CA

    CO

    CT

    DC

    DE

    FL

    GA

    HI

    IA

    ID

    IL

    IN

    KS

    KY

    LA

    MA

    MD

    ME

    MI

    MN

    MO

    MS

    MT

    NC

    ND

    NE

    NH

    NJ

    NM

    NV

    NY

    OH

    OK

    OR

    PA

    RI

    SC

    SD

    TN

    TX

    UT

    VA

    VT

    WA

    WI

    WV

    WY

    AS

    FM

    GU

    MH

    MP

    PR

    PW

    VI

    AA

    AE

    AP

    AB

    BC

    MB

    NB

    NL

    NS

    NT

    NU

    ON

    PE

    QC

    SK

    YT

    None

    Untitled.jpg

    Oh my gosh, you can't even see this - but I entered all states on survey for all 10 options. This HTML here is the back end of the page builder page it is embedded in. Still an error came up and so I thought maybe it was because I just entered the state abbreviations and on the page builder page it offers full state name, but then I looked at the code - above and it has <option value="AK">Alaska<option>

    So it should read it right? Not sure if you can see it from the front .. but this is the pagebuilder page: http://stjo.org/site/PageServer?pagename=powwow

  • Nikki Valentine Odens:

    Untitled.jpg

    Oh my gosh, you can't even see this - but I entered all states on survey for all 10 options. This HTML here is the back end of the page builder page it is embedded in. Still an error came up and so I thought maybe it was because I just entered the state abbreviations and on the page builder page it offers full state name, but then I looked at the code - above and it has <option value="AK">Alaska<option>

    So it should read it right? Not sure if you can see it from the front .. but this is the pagebuilder page: http://stjo.org/site/PageServer?pagename=powwow

    The issue is that the Survey questions appear to have been reordered since this PageBuilder page was built. Reordering Survey fields causes their names to change, breaking any "scraped" Surveys like this one. You'll need to go through and change all of the field names in the PageBuilder page to the new names from the Survey, e.g. the name of the "" field should be 3159_1241_5_1324 but currently it is 3159_1241_25_1324 on the PageBuilder page.

  • Noah Cooper:

    The issue is that the Survey questions appear to have been reordered since this PageBuilder page was built. Reordering Survey fields causes their names to change, breaking any "scraped" Surveys like this one. You'll need to go through and change all of the field names in the PageBuilder page to the new names from the Survey, e.g. the name of the "" field should be 3159_1241_5_1324 but currently it is 3159_1241_25_1324 on the PageBuilder page.

    Would reinserting the revised survey into a stripped page builder page would it render all the fields correctly? I think I get it but would this option I said correct it?

  • Nikki Valentine Odens:

    Would reinserting the revised survey into a stripped page builder page would it render all the fields correctly? I think I get it but would this option I said correct it?

    Yes, if you inserted the Survey using the component in the WYSIWYG the issue would be corrected, of course, you would not have the layout currently seen on the page (with the Name fields and State dropdowns aligned next to one another). If you want to keep that layout, you'd need to go to http://stjo.org/site/Survey?ACTION_REQUIRED=URI_ACTION_USER_REQUESTS&SURVEY_ID=1241, view source, and copy and paste the names of each field into the HTML in PageBuilder.

  • Noah Cooper:

    Yes, if you inserted the Survey using the component in the WYSIWYG the issue would be corrected, of course, you would not have the layout currently seen on the page (with the Name fields and State dropdowns aligned next to one another). If you want to keep that layout, you'd need to go to http://stjo.org/site/Survey?ACTION_REQUIRED=URI_ACTION_USER_REQUESTS&SURVEY_ID=1241, view source, and copy and paste the names of each field into the HTML in PageBuilder.

    YOU ARE AWESOME NOAH! I just had flash backs of when my project manager was going over all this with our surveys before we went live. She was showing me how to copy the code and change it etc. At the time I was really lost and didn't understand -now that it has come up, I get it. Can't wait to have knowledge like you do!! Again, thank you!

Categories