The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

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

THEMA: Using date entered by user

Using date entered by user 3 Monate 3 Wochen her #91811

  • stuttgarter
  • stuttgarters Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
I am trying to create question group as follows:

q1(dropdown): Class(C1,C2,C3)

q2(radio): Teacher(T1, T2, T3)

q3 (Date):

q4(textDisplay): UID is {q1}{q2}{q3} --> output is : C1T301.01.2013

I am trying to remove (.) from date and tried a couple of tricks (strReplace, and trim )but is not working.

Any suggestions would be appreciated.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Using date entered by user 3 Monate 3 Wochen her #91824

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2853
  • Dank erhalten: 423
  • Karma: 243
This appears to be a bug.

Using this, I can remove the first instance of "." but the second instance remains.
str_replace(".", "", q3)
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
Moderatoren: DenisChenu, ITEd
Ladezeit der Seite: 0.254 Sekunden
Donation Image