2

I am creating a form. it has a field collection. it has a field age in field collection that can be filled unlimited times in single form. I want to add the total of those field values(age) in another single textfield(out of field collection). I don't know how to that as it has same class but always ask for input:ID which is different everytime.

  • try this module drupal.org/project/computed_field – monymirza Nov 8 '12 at 12:48
  • thanx for reply. I am trying that too. – sneha.kamble Nov 9 '12 at 5:47
  • Actually i have written jquery for single field bt nw i want to use those fields as field collection to have multiple inputs in same form. so that query is not working in field collection. any suggestions – sneha.kamble Nov 9 '12 at 5:51
  • how you are using jQuery? code? – monymirza Nov 9 '12 at 5:55
  • did u check your code as alert? – monymirza Nov 9 '12 at 6:29

Browse other questions tagged or ask your own question.