Wish to display a message (after saving a form) giving a unique registration number.
Can I use ' Unique ID [GH] action' ? Where to get the source file?
$form->data['chronoform_data']['id'], is the unique identifier generated in my joomla database table.
Can I use the same in my display message? How?
Hi Santosh,
I have sent you PM with a link to download the Action.
Bob
Thanks Bob.
Installed & testing.
Hi Bob
Can I get the link to the action as well? I'd like to try it in CFv5.
Roger
:? Not able to get the id.
Inserted the action in 'On Load' event.
But not appearing the field in Debug mode.
Also not getting the same in email (which was set at the end of the form).
Both the set-up screen shots are attached.
You should put it in 'On Submit', before DB Save.
Roger
Hi santosh,
Normally, as Roger says, you would use this in the On Submit event to create an ID for a successful submission.
If you want to use it in the On Load event that will work OK but you then need to have a Hidden Input in your form with the same name e.g. uniq_id so that the value is still available to be saved after the form is submitted. Note that if you do that there is a very very small chance that the ID will no longer be unique.
Bob
Dear Bob
Yes, you deserve a coffee from me. Thanks for prompt help.
I would like to invite you for a Dinner in Mumbai.
Regards
I would like to have this please. Where/how can i get this? TIA.
download from joomal chronoforms download page.
Install using i
install action' button at chronogorms page on your site.
Follow the instructions above.
Hi phicts,
I've sent you a PM with a download link - it's not an 'official' action so you can't download it here. Otherwise follow santosh's instructions to install it.
Bob
I've already installed it. There was a message that the action was installed successfully. I couldn't find it in the Designer and Setup tabs. Where or how do I use it?
I tried Googling it but can't find a good tutorial.
Hi santosh.karkhanis,
You should see a new [GH] Custom Actions button in the Setup tab. Please click the button, then drag a copy into your form On Submit event - then check the Help in the action settings.
Bob
I wonder why I can't see anything like that on my installation when it was supposed to be installed.
my specs:
Setting Value
PHP Built On Linux <redacted> 2.6.32-042stab093.4 #1 SMP Mon Aug 11 18:47:39 MSK 2014 x86_64
Database Version 5.5.47-cll
Database Collation latin1_swedish_ci
PHP Version 5.5.30
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Hi phicts,
Please scroll down a bit further.
Bob
Where is it exactly please? You got a screen shot?
I already clicked the groups and looked at each one but just couldn't find the GH unique ID action.😟
[attachment=0]2016-01-12_19-13-44.png[/attachment]
Thanks Bob. But unfortunately, there's nothing like that in my Setup tab.😟
What could have happened and what's next? Should I reinstall the action? Uninstall first? Where and how?
Hi phicts,
Please check that the /administrator/components/com_chronoforms5/chronoforms/actions/unique_id_gh folder exists and has three files in it. If not then something went wrong with the installation. You can unzip the action file and copy the folder to your site if that is easier.
Bob