Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
using
/subform-example/multiple-nodes link and added Datestamp field type to node the field itself stays empty after saving node
When field Datestamp is required - form validation error without any possibility for saving it
The same problem with a custom code using subform api as described in documentation
Comments
Comment #1
podarokDatestamp field created using date module
date field
Comment #2
podarokComment #3
KarenS CreditAttribution: KarenS commentedIf you're using alpha3, move up to the latest -dev version of 7.2.
Comment #4
podarokmoved to latest dev - the same problem exists
Comment #5
KarenS CreditAttribution: KarenS commentedI don't know anything about subform, I can't fix this.
Comment #6
casey CreditAttribution: casey commentedFixed it. Try latest dev version and please let me know if it works.
Comment #7
casey CreditAttribution: casey commentedProblem was that date_popup_process_date_part() sets #input to FALSE while subform.module was checking for it to see if #name rewriting is needed. Replaced the check for #input with !empty(#name).
Comment #8
podarokare there any patches for that?
Comment #9
podarokO, I see it
http://drupalcode.org/project/subform.git/commit/4b3b7fa
thanx!
I`ll check
Comment #10
podarokthanx!
fixed! latest dev