Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA: Modifying the self-registration text

Modifying the self-registration text 5 Monate 1 Tag her #91299

  • stevage
  • stevages Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
I can't find an easy way to modify this text, from within LimeSurvey:
You must be registered to complete this survey
You may register for this survey if you wish to take part.
Enter your details below, and an email containing the link to participate in this survey will be sent immediately.

Also, we would really like to remove the "first name" and "last name" boxes: all we want to collect is the email address. Is this possible?

We'd really prefer to host the survey on LimeService, so modifying code is out - but can do it if there's no other solution.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Modifying the self-registration text 5 Monate 1 Tag her #91301

  • stevage
  • stevages Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
Ah, I've solved it.

1. Copy the default template
2. On startpage.pstpl, insert this at the end of the HEAD tag:
<script>
$(function(){
$("[name=register_firstname]").parent().parent().hide()
$("[name=register_lastname]").parent().parent().hide()
});
</script>
3. On register.pstpl, replace {REGISTERMESSAGE1} and {REGISTERMESSAGE2} with whatever you want. (This wouldn't work if you needed multiple languages.)

Sweet!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
Moderatoren: DenisChenu, ITEd
Ladezeit der Seite: 0.193 Sekunden
Donation Image