Hi everybody, first, i'm quite new to this group and already have a little question. I'm trying to combine a SemanticForm with the upload function of MW to "enter meta data for a file" and upload it in one process.
I got a bit confused about preloading date values. I just used a Form with one field (using a property of the type date) and no default value. First i tried s.th. like that: Special:AddData...&DateTest[Date][day]=12&DateTest[Date][month] =4&DateTest[Date][year]=2001 because that's how it appears in the displayed HTML form (and what's given in the URL later on). But this leads to a PHP Notice: Undefined variable: cur_value [....] and i get an emtpy string for the day, "april" for month and "2009" for year. Alright, then i tried: Special:AddData...&DateTest[Date]20010412 and it worked fine. But the first one is saved fine with "wpSave=true" as additional parameter :) So there seem to be different behaviours either the form is displayed or should be saved. So, for example it's also not possible to just preload a day and let the rest be defined by SF itself, is it? Thanks for your comments and sorry for my miserable english ;) Greetz, unclebenz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
