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

TOPIC: Using date entered by user

Using date entered by user 3 years 10 months ago #91811

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.
The administrator has disabled public write access.

Using date entered by user 3 years 10 months ago #91824

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
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 Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.378 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form