1. interactifdesign
  2. Support
  3. Sunday, June 15 2014, 08:45 PM
Hi,
i have trouble to define condition about date filds.
i want to show/hide severals fields depending of a grater/minor value of my calendar field.
But i didn't found the solution.

Thank you
admin Accepted Answer
Admin
Hi,
sorry for late reply it was weekend for us.

yes, you have found a bug. to fix please replace this file /components/com_jsn/assets/js/bootstrap-datepicker.js with attached.

Also use this format in conditions YYYY-MM-DD (2014-06-16)

Thanks for report
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 1
interactifdesign Accepted Answer
thanks a lot !!!
another question please .
i have to make conditions on 2 fields :
if one contain a specific value and the second one another value show/hide a third field.
Is it possible ?

clearly i hav one select field :
"2010-2011-2012-2013"
a second one select :
"6month-1year-2years-3years"

If i select "2011" in the first one and "3years" in the seconde one so show a third field.

Thanks for you reply
Regards
R
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
in this usecase yes.

select 1 option:
2010|2010
2011-3y|2011
2012|2012

select 2 option
6m|6month
1y|1year
2y|2year
3y|3year

condition on select 1: if contain select 2 value show third field.

Also you can create a mix:
select 1 option:
2010|2010
2011-3y-2y|2011
2012|2012
  1. more than a month ago
  2. Support
  3. # 3
interactifdesign Accepted Answer
Thank you so much.
i'll try it immediatly.

PS : i updated the calendar picker file ! and conditions works !!!
thanks again !!
  1. more than a month ago
  2. Support
  3. # 4
interactifdesign Accepted Answer
i need something else ( i know it's too much)
but i realy need it .

is it possible to make a field required only if it's visible ?

i have severals conditions on severals fields that are showed or hidden depending of cases.
Some peaple can register with few fields, others with all fields.
But i need that if the hiddens fields are visible to make then "required".

thank again and this is the last query...i hope.

R
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
You can set required on field. When this field is hidden become not required.
  1. more than a month ago
  2. Support
  3. # 6
interactifdesign Accepted Answer
really ?
wow ok...so i turn my brain during weeks for that.

sorry for disturbing for nothing.
Thanks

See u
R
  1. more than a month ago
  2. Support
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.