Welcome, Guest
Username: Password: Remember me

TOPIC: Assigning default values to numerical array in subquestions

Assigning default values to numerical array in subquestions 3 months 3 days ago #111067

  • wstahl09
  • wstahl09's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hello,

I have a mandatory question that prompts the user to indicate the days and hours since an event, which is saved into a numerical array. I was wondering if there was anyway to set a default value of 0 to both days and hours, and if not how I could go about doing so with javascript.

Thanks!
The administrator has disabled public write access.

Assigning default values to numerical array in subquestions 3 months 2 days ago #111074

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
Are you using an Array (Numbers)(Checkbox) or Array (Texts)(Numbers only) question type?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 months 2 days ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.133 seconds
Donation Image