Welcome, Guest
Username: Password: Remember me

TOPIC: How to add date question on the multiple array?

How to add date question on the multiple array? 1 year 2 months ago #98767

  • gatinc
  • gatinc's Avatar
Hi,

How can I add a date on the following attached array?

Attachment familyinfo.lss not found



Attachment familyinfo.jpg not found



Can you help me please?
The administrator has disabled public write access.

How to add date question on the multiple array? 1 year 2 months ago #98768

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1119
  • Thank you received: 253
  • Karma: 78
Hello
add to the source of your question (or help field) something like:
<script>
$(function() { $( "#answer123X456X789SQ001_SQ001").datepicker();
});
</script>

You just have to replace "#answer123X456X789SQ001_SQ001" by the correct input ID

Tip: for date picker option settings have a look at api.jqueryui.com/datepicker/
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

How to add date question on the multiple array? 1 year 2 months ago #98781

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hi,
Ben_V wrote:
You just have to replace "#answer123X456X789SQ001_SQ001" by the correct input ID
Youcan use {SGQ}, it's great for script.

answer123X456X789SQ001_SQ001 => answer{SGQ}SQ001_SQ001
The administrator has disabled public write access.

How to add date question on the multiple array? 1 year 2 months ago #98793

  • gatinc
  • gatinc's Avatar
hi,
I tried, but I could not do it. Can you add to the source of my survey? please..
The administrator has disabled public write access.

How to add date question on the multiple array? 1 year 2 months ago #98796

  • gatinc
  • gatinc's Avatar
Thank you for your answer. its works. but i have one question. How can I change year in datepicker?
The administrator has disabled public write access.

How to add date question on the multiple array? 1 year 2 months ago #98797

  • gatinc
  • gatinc's Avatar
I found it.
$(function() { $( "#answer597613X75X1104SQ1_SQ1").datepicker({ dateFormat: "dd/mm/yy",changeMonth: true, changeYear: true });
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.208 seconds
Donation Image