Form Wizard pro customization questions

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/14/2011 1:25:54 PM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Form Wizard pro customization questions

Hi,

1)How do I use CSS to rearrange the questions I mean if I have to have 2 questions in row how do I do that using CSS.

I know how to use css to split tow divs in a row but do I need create my own css if yes where should i store or edit exist css if yes then where it will be stored?

2)If I want to put a popup calendar for user to input date in one of the question can i use Calendar Pro with From Wizard for to achieve this?

If not I have a JQuery calender but which file do I need to put this code in?

3) Also if I want to change the label of Finished button to Submit or some other text  in From Wizard Pro where can I change the label?Even is it possible?

 

10/14/2011 1:48:25 PM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Also to add to that if I have one question but have two answer type how do i do that?

For ex:Doctor visit Data (Label) Date :entry filed(i think i can do with date picker) 

Under this same questions category i have check boxes list like 

                                                           Family Doctor 

                                                           General Health care Provider  etc

So i do i have two answers set under same question?Is there a way to hide questions answers or customize its behaviour

10/14/2011 2:46:17 PM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

I see data from wizard pro data can  be viewed by word and excel. Where are they stored in database?

Can I query them back?When is the best to do that?

10/14/2011 3:32:58 PM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

I see the calender picker option built in  and database tables where questions and answers will be stored.

Please answer only layout customization questioin with CSS and chaning default label and question behaviors I mean one question and two answer type.

10/15/2011 1:58:56 PM
Gravatar
Total Posts 2253

Re: Form Wizard pro customization questions

Hi,

For the layout question, yes you'll need to create the CSS for that yourself. You can store your custom CSS in any file you like inside of your skin. I typically use the styleformwizard.css file.

I am not sure that you can change the text of the submit button without changing the resource file for it. I don't usually recommend changing the resource files because the can be overwritten when you upgrade.

There is not a way to conditionally enable fields depending on answers to other fields.

HTH,
Joe D

10/17/2011 8:25:30 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Joe,

Using Form Wizard Pro how do I make user specific questions?

I mean  i want userA just to see his question that he is authorized and see the submission data also available to him.

He can edit the responses to his answers too. But others users can't see his change except admin who has privilege to do that.

Same should apply for other users.

Is this possible out of the box using  Form Wizard?

10/17/2011 8:44:03 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

My question is more specific to role based authorization.

I want to define custom role that than edit edit the form developed.

10/17/2011 8:52:02 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Ok I see that you can do it using Role Administration 

but users can still see the root level page bu cannot view content.

Is is possible to hide page name as well?

10/17/2011 8:56:43 AM
Gravatar
Total Posts 18439

Re: Form Wizard pro customization questions

you can set view roles and edit roles at the page level in Page Settings. The pages shown in the menu are filtered by view roles, so users not in the role will not see the page or the menu item for the page. Users with edit roles on the page can edit the form wizard on the page.

We also have view and edit roles at the feature instance level, it sounds like you found that, but setting view/edit permissions there does not hide the page.

Hope that helps,

Joe

10/17/2011 9:34:09 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Joe,

Appreciate your prompt response again.

I used Role Administration and Page Settings as per your suggestions to achieve the function laity of my requirement.

I am one more issue now. I see that authorized user can view all the submission data posted by all users.

Is it possible to restrict to see his own data only.

For eg:I have two user say Admin and Public user.I have two submission data. It's ok for admin to see public user data but in my  use case public user can see admin data using  view submission grid browse submission options. Is there way to restrict that behavior?

Any configuration based options if exist would be helpful if not is there code tweaking solution?

 

10/17/2011 9:42:13 AM
Gravatar
Total Posts 18439

Re: Form Wizard pro customization questions

Hi,

It is not currently possible for a user to just see his own data. The current functionality is that only users with edit permission can see the data and those users can see all the data. 

I don't have any suggestions for now, there is neither a configuration solution nor a code solution. I do have a wish list item in my project tracker to support a scenario where a user must be authenticated to submit the form but the user is allowed to view/update his own submission. So this may come in a future update to Form Wizard Pro but I don't have any estimate of when that might happen.

Best,

Joe

10/17/2011 10:00:35 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Joe,

Appreciate your response.

I understand that Form Wizard Pro is designed for the poll type of questions.

But if you can generalize this in next edition so that it can submit data for all kinds of form not just question answer type and can restrict those access for CRUD operations at user level and admin level with option of customization to the user level like read only or edit or delete from admin will make it great product according to my understanding.

So I vote for this feature also think many will benefit from it and make your product for marketable.

After all most common requirement of all forms is to submit the user data to DB and retrive back to screen. Which it does well now to certain extend so i don't think it will be harder to do remaining it just needs customazitaion for that from admin level and from design should have also different customization options to allow other types of froms except QA type. Just my 2cents.

 

 

10/17/2011 10:05:37 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

I mean to say in addition to Question Answer type:

Like 

User Registration 

Login

Insurance Forms 

Medical data etc 

So that user can design any kinds of forms with it.

 

10/17/2011 12:29:13 PM
Gravatar
Total Posts 18439

Re: Form Wizard pro customization questions

Hi,

Form Wizard is not intended to support use as a login or registration form. We have built in functionality in mojoPortal for those features, and it is possible currently to add some custom fields to the user profile and require them on the registration page. While one could implement a custom form submission handler and from there one could create a site user or set an authentication cookie so technically one could use it as a registration or login form, but it was not intended for that and I don't recommend it for that.

Form Wizard is also not designed for polls, we have a free Poll feature included in mojoPortal.

Form Wizard Pro is not meant for custom development or as a CRUD solution for custom development. If you have complex needs it is better to implement a custom feature specifically for the need. It is easy for developers to define your own table in the database and we have Codesmith templates that can generate a lot of starter code for a custom feature for data access, for business layer, and even for UI such as grids or forms.

Form Wizard Pro is designed to make it fairly easy for non technical people to create custom contact forms, simple surveys, quote requests, job applications or many other scenarios where you just want to capture some data from visitors of your site.

When we make it possible for users to edit the form after posting and to see their submitted data then maybe it will fit some other scenarios like Insurance Form or  Medical Data, but it will depend on how complex the needs are. If there are a lot of business rules it is probably better to implement a custom feature, and those scenarios sound to me like ones where there would be a lot of complex rules and requirements about what data the user can edit, keeping history of their changes, only allowing them to edit at certain times of year etc. Form Wizard Pro is not designed to be a solution for every problem. My goal is to keep it simple and easy to use but that goal requires choosing not to add lots and lots of options and configurations, the more options and configurations the less user friendly it will become.

Best,

Joe

10/17/2011 1:28:19 PM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Joe,

Thanks for the explanation. I agree with all your explanation but still not convinced why one user should see other users data.

Admin can view all user data that is fine.Anyway thats fine I want to focus on my business requirement.

Ok for my requirement I want app like From Pro for data entry and browse features like  it does now.

I have already figured how to control page level and instance level control with Authorization Admin feature that you answered before.

How do I interface with Portal to develop my custom app at least high level guidance will be helpful.

Also any pointers to example or links for references will be appreciated.I am lost where should i start?

10/17/2011 2:23:54 PM
Gravatar
Total Posts 18439

Re: Form Wizard pro customization questions

Hi,

We have a lot of Developer Documentation

and finally, the mojoPortal source code is a good tool for learning how to develop custom features. The way the projects are structured for the mojoPortal.Features set of projects and the WebStore set of projects is setup the exact same way that I would setup projects for a custom feature. We use post build events on the UI projects to copy the needed files up to the Web folder since they run in the context of mojoPortal Web and cannot run on their own. The features have dependencies on mojoPortal core projects but mojoPortal does not depend on the features.

Hope that helps,

Joe

12/7/2011 8:26:41 AM
Gravatar
Total Posts 45
Thanks, cms_developer Contributer:http://codeissue.com/

Re: Form Wizard pro customization questions

Joe,

Any updates on how to make user A data not visible to user B data using From Wizard Pro when both user have same edit custom roles to submit form?You said this is something that you are planning to implement in future?Or these is any workaround to achieve this task?

12/7/2011 9:09:02 AM
Gravatar
Total Posts 18439

Re: Form Wizard pro customization questions

Hi,

Sorry but I have no update or eta of when I will get to this and I have no suggested workaround. I willl get to it at some point but I make no promise of when, I don't expect to get to it in the very near term, there are just too many higher priority things in my to do list right now.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.