We were looking into the newest version of webform. We received a quite a few errors using the date, grid and select field types,

undefined functions expand_radios .... etc...

changed those functions to the new form_process_radios (date, time )

We didn't know if you were working on it, but here you go!

Comments

quicksketch’s picture

Thanks! Yeah the Drupal 7 version is extremely untested at this point (maybe it should've been called alpha), but I wanted to maintain the two branches in sync so we had to start with something. Also important to note is that I'm not yet writing upgrades for the Drupal 7 version. Meaning that when the beta3 version comes out, you'll need to uninstall and reinstall Webform in Drupal 7. While this may seem harsh, right now you can't upgrade Drupal 7 from Drupal 6 at all, making my testing of upgrade paths next to impossible at this point. Adding inner-Drupal 7 updates requires knowing how the upgrade from Drupal 6 works, so updates don't get applied twice.

So basically, I very much appreciate the patch, but please don't expect to be able to use the Drupal 7 version for ANY practical purpose at this point, don't even install it on any site you eventually plan to put into production, since upgrading it is not supported.

quicksketch’s picture

Status: Needs review » Fixed
StatusFileSize
new2.85 KB

I've committed your changes with a small revision. I excluded the changes to time.inc, since they were non-functional. And I changed "grid_element" to just "element" in hook_theme() rather than the other way around.

quicksketch’s picture

Title: Patch for component issues » Update #process properties to match Drupal 7 function names
quicksketch’s picture

Oh, I get why you did the change to time.inc. I'll be wrapping in that change into #712352: Convert time component to use seconds in the day (timestamps), which I'm working on presently.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.