21
jegelstaff
Re: Liaise Form elements (!?)

Okay, that's good. From an earlier post, it looked like there was a problem rendering elements in XOOPS 2.3, as if the form classes had changed somehow. Thanks for the update.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



22
jegelstaff
Re: Liaise Form elements (!?)

Hello, I am sorry to hear you have found a problem.

Can anyone show me some documentation about changes between XOOPS 2.0.x and 2.3.x? If so, it would be easier to see what the problem might be. I thought 2.3.x was supposed to be backwards compatible, but it doesn't seem like it is.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



23
jegelstaff
Re: need module for ratios tracking
  • 2008/12/16 14:44

  • jegelstaff

  • Module Developer

  • Posts: 518

  • Since: 2004/7/2 2


Sure, Formulize could do something like this in a few ways. Here's a simple way:

1. Create a form with all the services/products people can choose. It would be a set of checkboxes presumably.

2. Also add name, address, etc. to the form.

3. Also add a derived value element to the form, this is an element which can do some math based on the other elements in the form. Set this element to be only visible to Webmasters. You will need to write the math part in PHP, it would look something like this:

// I'm assuming the caption of the checkbox series
// is "Choose your services".  You would need to use
// whatever the caption actually is.
$services "Choose your services";
$total 0;
foreach(
$services as $thisService) {
  switch(
$thisService) {
     case 
"Haircut"// use the exact text of the checkbox options
        
$total += 10// haircut costs $10
        
break;
     case 
"Shine shoes":
        
$total += 5// shining shoes costs $5
        
break;
  }
}
$value $total;


So that will add up the value of all the services.

4. Then you need to set the permissions for the form, so Registered users can presumably view the form, and add their own entries, and maybe update their own entries if you are letting people review submissions they have made in the past. Webmasters would have all permissions.

5. Then you need to setup the notification options so you will get notified every time someone fills in the form or updates an entry. Go to the form itself (accessible through a URL like this: /modules/formulize/index.php?fid=1 where the number is the id number of the form you're working with -- ID numbers are visible on the main Formulize admin page). On the fid=1 page, you can click the Notifications button to set the notification options. You want to create a notification that happens when new entries are created, and it gets sent to webmasters, I assume, and you want to use a custom template file for the notification.

In the custom template file, you can include the specific contents of the entry, by referring to the element ID numbers (or the optional data handles if you've specified them...it can be easier to use handles instead of remembering lots of arbitrary numbers). You include the values of the elements in the template by referring to them like this: {ELEMENT_12}, that prints out the contents of element number 12. Or if you gave that element a data handle called "options", then you could do this: {ELEMENT_OPTIONS} (note, it has to be upper case).

So you can include all the things people checked off, and the calculated total, in your message template, so you would get e-mailed when people fill in the form or update it.

You need to put the template file in the modules/formulize/language/[current language]/mail_template folder.

You can setup another notification for when entries are updated, and use the same template, or maybe a slightly modified one.

You can create a menu link to the fid=1 URL to give people access to the form, or use the form menu block. There are some other more advanced things you can do to customize more about how people interact with the form or with lists of previous entries they have made. But this is the basics. If you try this out and this functionality is what you need, then the rough edges can be dealt with. If this is not the actual functionality you need, then maybe there's a different way to construct what you need with Formulize, or maybe there's a different module that would be better.

I hope this helps, let us know how it goes.

--Julian

Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



24
jegelstaff
Re: need module for ratios tracking

Formulize can let you create a form with whatever elements you want on it. And you can assign permissions to whatever groups you want to fill in that form.

And it lets you create advanced notification options so that you can be notified when someone fills in the form, or the person who fills in the form can get a confirmation message, or when various other things happen. And the notification messages can have customized templates, and those templates can include all values that have been filled in in the form.

Formulize does not have any JQuery features or other "asynchronous" Ajax-like features at this time. So if what you are interested in is the way the total at the bottom adds up automatically as the checkboxes are checked, Formulize does not do that automatically for you, but you could custom write some JQuery or javascript code that would do that with a Formulize form (or any form of course).

If you can give some more details of what exactly you are trying to create...what the form would look like, what elements it would have, who the users of the form are, how they are supposed to interact with it (fill it in only once, fill it in multiple times, etc), and who is supposed to review the entries (ie: webmasters see all entries, or people from the same city are supposed to see entries only by other people in the same city...?), then I could provide some more concrete answers, examples and steps.

Formulize is like a CMS for forms and data, so just like you have to think a bit about how to setup your XOOPS site to do what you want, you have to put some design and planning into how you use Formulize to handle the form submission and data reporting needs that you have.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



25
jegelstaff
Re: need module for ratios tracking

Hello, thank you for ghia for the recommendation.

Yes Formulize may be suitable for what you need. You could create a form with the questions you want, and set the permissions for the groups that should be able to fill it in, and then the webmasters group, or whatever group you want, could have "globalscope" permission and would be able to see all entries by all users, and do summary calculations on the values in the fields.

Feel free to post more information about your needs here or on our support forums athttp://www.freeformsolutions.ca/formulize (link in the left menu), and I'd be happy to provide more details.

Good luck,

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



26
jegelstaff
Re: WF downloads, how to edit Submit download Form?

[irrelevant information about registration codes deleted]

What are you having trouble with? It should be a simple matter of:

1. Make a Formulize form with the custom fields you want to use.

2. Give Registered Users and/or anonymous users view/add/update-own/update-others permissions on the form.

3. Go to WFD admin screen, edit the category you want to use the custom form with, and pick the Formulize form you made as the one you want to use.

If you already have files in that category, then you might have some trouble, because that existing data will have no Formulize entries associated. Post here and I can maybe help with that. If you're making a new category from scratch, there should be no issues at all.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



27
jegelstaff
Re: Unable to Create Conditional Forms

Are you a developer, or do you have a PHP developer you could put on this problem? If so, I can provide some specs for what would need to be done to make this happen. It can't be done without a developer though, it will require significant programming (ie: not just hacking).

Unfortunately, I can't volunteer my time to the task at the moment, though eventually this feature will be added to Formulize, I'm pretty sure.

In the meantime, all I can suggest is that you make a long, structured series of options, ie:

Alberta - Calgary
Alberta - Edmonton
British Columbia - Vancovuer
British Columbia - Victoria
etc....

It's long, but it's easy to read and is organized by the "first" choice.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



28
jegelstaff
Re: Unable to Create Conditional Forms

Hi there, sorry for the long delay in replying.

It sounds like you're looking for a situation such as the typical pick country/pick province/state boxes, that many sites have. When you pick the country, the choice of provinces/states is changed to only the ones that match the country you picked.

Is that right?

If so, then no, unfortunately, it's not something Formulize does. It is an oft discussed feature that no one we've ever worked with has needed enough to bother developing it. If you have some development resources and want to add this feature, I would be pleased to talk about how it could be implemented.

Sorry I don't have better news.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



29
jegelstaff
Re: Formulize suggestions for newbie

Hello, sorry for the long delay in replying. I can imagine a few ways of doing what you describe in Formulize, or in plain PHP. If you would still like some help with this, please reply here. I will monitor the thread.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports



30
jegelstaff
Re: WF downloads, how to edit Submit download Form?

The problem with adding to the WFD form, is where are you going to store the data? It integrates with Formulize right out of the box, no need for any hacking or updates or patches.

You simply need to make the form in Formulize, give view/add/update permissions in Formulize for that form, to the groups of users who should be able to see it (Registered users probably). And then in WFD, modify the category you want to use that form with, and pick the form. I believe that's all there is to it, though I haven't done it for a little while.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports




TopTop
« 1 2 (3) 4 5 6 ... 38 »



Login

Who's Online

253 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits