Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Survey in iFrame on iPhone

  • leonjp
  • leonjp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #122300 by leonjp
Survey in iFrame on iPhone was created by leonjp
I got my first survey up and running within and iframe and it works fine on the desktop and it looks fine on the iPhone but when I submit, it shows up as an uncompleted survey with Date Started and Last action exactly the same, ip address, and referring url, but no date submitted or any other data.
Anyone have any idea what might be wrong?
The topic has been locked.
More
8 years 8 months ago #122303 by mdexcentreville
Replied by mdexcentreville on topic Survey in iFrame on iPhone
Haha.

Sorry, but I have some problem. If you are running that on a wordpress website, some plugin can help. if not, I don't know.
On Ios, it's because the scrolling feature is missing. it's why you can see only the begenning of the survey


On wordpress, I use "WP Lightbox Ultimate" with the shortcode for HTML content (Other doesnt work on IOS)
The topic has been locked.
  • leonjp
  • leonjp's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #122418 by leonjp
Replied by leonjp on topic Survey in iFrame on iPhone
Direct link to survey (not in an iframe) worked on iPhone.
Survey within iframe worked as expected on Motorola Android phone.
Survey within iframe produced the following error on iPad:
Bad Request
The CSRF token could not be verified.
The request could not be understood by the server due to malformed syntax. Please do not repeat the request without
modifications.

Any other suggestions?????
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #122487 by DenisChenu
Replied by DenisChenu on topic Survey in iFrame on iPhone
Hi,

Yes : you can have cookie in iframe : security issue.

You have to update your config 'enableCsrfValidation'=>false, :https://manual.limesurvey.org/Optional_settings#Request_settings

I think iphone need session in URL too.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose