Hello,
I'm sorry to insist but I'm hopeful someone could help me. Max suggested me using V6 but I have several forms on a deadline and really don't have the time to migrate all of them.
I have an application form saved on the db, and a connection on chronoconnectivity to view the info. Once it's submitted, an admin will check the info and proceed to accept or reject the application, for this I'm using the binary field and created a column called state which takes values 0/1. Once the admin toggles de state, it should send automatically an email to the user letting them know that their application has been accepted.
I already tried using the toggle action and a form with the load event and the email action, but the connection doesn't seem to work, when I cliked on test form it would send an email, but when trying to send it from the admin view nothing happened.
I don't know if this is a bug on V5 maybe? or if I'm missing something, I'd really appreciate it if someone could help me!
Hi nams09,
Your setup looks correct, i'm not sure what may be wrong here, what happens when you click the toggle button in the list ?
You do not have to migrate all your forms/connections to v6, just the one you need here, v6 can work with v5 on the same website without any problems.
v6 has much more flexibility and many new features in case you need to add anything later.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
When I click the button it changes the state value and color of the button, but doesn't do anything else.
I'm not sure if it should redirect somewhere, even If i add a debugger it looks like there's no connection existent.
I'll try using v6 but it looks a lot different😟
Thanks Max
Hi nams09,
Please try to use the "binary" action, just use the same form event there and check what happens.
You may also remove the "Connection action" to make sure that the form is connecting correctly.
v6 is different but it can do much more in a better way, there are 4 demo projects included, you can check them and post any questions here.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
It didn't work Max, when using the binary action.
But when I remove the "connection action" and test the form it sends the email. It's weird, the rest of my forms work well when using the edit event, but this one with the toggle event just doesn't work.
Hi nams09,
Please try to use a "Display message" action, and point both the the toggle and binary actions to the form event, and remove the "connection action", if the message is still not shown then you may really need to use v6 for this single connection at least, your other connections can be kept in v5.
v6 has a "basic articles list" demo, you can start with that project, it should show you how most of the basic stuff is working.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Unfortunately it didn't work Max😟
If I test the form alone I get a message "update failed" and from the list if I toggle it just changes the value but doesn't redirect anywhere.
Thank you so much for your help, I'll try using V6.
Hello Max,
I finally got it to send the email using V6!! But now I have another question...I have 3 columns which have links to pdf's the user uploaded, in the previous version I used the HTML field to display a link where the admin can download the document. But now I'm not sure exactly how I can do that using V6.
I tried using a custom html view with the link code but I'm not sure if the curly brackets is the way to do get the name of the pdf. Previusly I got it this way {Becashijos.boleta} but now it's not working.
I attached an image of the html the way I had it in V5 and an image of the listing the way I have it in V6. The link Descargar takes me to the correct url path but I'm missing the name of the file I have saved.
I'd appreciate your help very much.
Hi nams09,
in v6 you get the value of any field in the table (or in a loop) the same way:
{var:table_view_name.row.Model.field}
so I think that in your case it should be: {var:table_view_name.row.Becashijos.boleta}
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.