Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: trying to use a <form>, but tags disappearing

trying to use a <form>, but tags disappearing 3 years 6 months ago #94432

  • jenllip
  • jenllip's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I am trying to insert a <form> button which takes prior answers and feeds them off to an external site, but it doesn't seem to be working. The button shows up appropriately in the sample page, and when I inspect the code of the sample everything is there (including the correct data pull), but the <form> and </form> lines are completely missing.

Edit to add: "Filter HTML for XSS" is set to no.

I feel like I'm missing something tiny, but I can't figure out what. Any thoughts?
<form action="EXTERNALSITE" method="post" target="_blank"><!-- Why does this line disappear? -->
<input name="INPUT1" type="hidden" value="VALUE1" />
<input name="INPUT2" type="hidden" value="_xclick" />
<input name="INPUT3" type="hidden" value="VALUE2" />
<input name="INPUT4" type="hidden" value="
<!-- Seems to need JS to strip Span tags from around the EM math output -->
    <script language=javascript>
      var txt='{HiddenTotal - HiddenOverage}';
" />
<input name="INPUT5" type="hidden" value="VALUE5" />
<input alt="IMAGE ALT TEXT" border="0" name="submit" src="BUTTON IMAGE HOSTED EXTERNALLY" type="image" />
</form><!-- Why does this closing tag disappear? -->
Last Edit: 3 years 6 months ago by jenllip.
The administrator has disabled public write access.

trying to use a <form>, but tags disappearing 3 years 6 months ago #94441

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9419
  • Thank you received: 1353
  • Karma: 387

Think it's more easy t use directly

Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Time to create page: 0.201 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form