Forums

Edit forms

xquest 28 Feb, 2015
Hi Everybody,

I am fresh chronoforms v5 user. Since today I was using breezing forms with is great component. Most because they have system to edit own form in very wasy/fast way, and very quickly you can make managment view for admins.
But breezing forms don't look nice (visually).

Chrono forms looks great. I have just made my first form. I want to build big form with user applications - I am going to collecting user data by which I will do some things on behalf of them.


But I want to ask You:

1) How I can show editing link which users can change their data (only owner of some application) Is it possible with Chronoforms?
2) How I can show "managing view" for site admins, where they can see list of users records,
3) Is it possible that admin can change some user field value in his form application (for example user will log into his form, and he could see if his application is in realization, or he can see if admin told him to upload for example another document)
4) Is it possible to show some report of any user data with non empty records?

If all above of this is possible please tell me:
5) If user as "anonymous" will write some application (in which there is email field, thanks that he is unique user for me), and after he will register on site, is it possible that he can edit his own "old" application when he was anonymous. In short: can user be detected as application owner by only "email adress" ?

Please answer me, I hope ChronoForms are better then breezing forms which has great capabilities but it's look very old.
calculus00 28 Feb, 2015
Hello xquest,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
Connectivity edit with Chronoforms
P.S: I'm just an automated service😉
GreyHead 01 Mar, 2015
Hi xquest,

1) How I can show editing link which users can change their data (only owner of some application) Is it possible with Chronoforms?

If they are logged in users you can identify their posts using their Joomla! User ID. Or you can create a search using e.g. an email address (much less secure).

2) How I can show "managing view" for site admins, where they can see list of users records,

Use ChronoConnectivity and set the permissions to an Admin User Group.

3) Is it possible that admin can change some user field value in his form application (for example user will log into his form, and he could see if his application is in realization, or he can see if admin told him to upload for example another document)

I think that the answer is Yes but I don't really understand the question.

4) Is it possible to show some report of any user data with non empty records?

Yes

5) If user as "anonymous" will write some application (in which there is email field, thanks that he is unique user for me), and after he will register on site, is it possible that he can edit his own "old" application when he was anonymous. In short: can user be detected as application owner by only "email adress" ?

Yes, provided that you've saved the email address to a database table.

Bob
xquest 01 Mar, 2015
Thx for answering me.

So I think that I have to build:
-one form in CF for collecting new records from users,
-another very similar form for editing their records,
- and third form for a report or list view, yes?

I am used to work on only one form (with view, edit and report in one place - like it is in breezing forms).
GreyHead 01 Mar, 2015
Hi xquest,

You can use one form to edit and delete - in practice I usually find it works better if you use two as there are some inputs that you don't want edited. It's up to you which way you do it.

You could also add a list in the same form - that's possible. Hard to say if it's a good idea or not.

I don't know enough about Breezing Forms to know how they put all the features in one form. The best way to think about ChronoForms (and to some extent ChronoConnectivity) is that it is a Lego kit for form builders. You can put the bits together in many different ways depending on your needs and experience.

Bob
xquest 01 Mar, 2015
Hi😉

After 2 days and 1 night I can not still understand how to build form with CFv5 and then edit it or show list with records in CCv5.
I was reading "Connectivity edit with Chronoforms" few times and can't understand how it works.

My basic problem is that i've made easy test form which is collecting data - anonymous user's name and adress email.
Now I do not know what to really do in CCv5. Your tutorial has many obvious for You shortcuts, but there are not easy on the beginning. Your video YT tutorials was great but there is no any how to integreat CCv5 with CFv5 for managing database.
If enyone can help me with my CCv5 backup file I will be very grateful.
It's my cf and cc backups:
http://www.filedropper.com/ccv5cfv5

I just want to edit and create data from CCv5.

Or if enyone can link here his backup files with easy example how do this, pls😉
xquest 01 Mar, 2015
I have add primary key for hidden field.
Now it's just little better because I can see some data - but when I want to edit - the form is blank.

Please enybody check my backups:

http://www.filedropper.com/backup_5
Max_admin 02 Mar, 2015
Hi xquest,

This is very easy, I guess the fields are blank because there names don't have the model id, which is mandatory in CC, so if your model is named "abc", then any field name should be like this:
abc[field_name]


Also your form must have a hidden field named as the primary key field in your table: abc[id]

Once you add a model name to your fields names in your form, you will have to update the "db save" action settings and set the "save under model id" to "yes".

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 03 Mar, 2015
Hi xquest,

I'm afraid the backups aren't much use without the corresponding tables - and it's a lot of work to recreate those even if you sent table backups.

It sounds as though the record identifier usually 'gcb' isn't being passed, or doesn't match a record in your table. Please drag a Debugger action into the On Load event of the form , then submit the form and post the debug results here.

Bob

PS It's also simpler if you attach files here rather than on an external site.
This topic is locked and no more replies can be posted.