Forums

Form name must NOT be empty error, some other questions

mustiej 16 Feb, 2015
Hey guys!

I have a problem with showing my chronoform.
I have installed the component(validation not bought yet, will buy later if it fits my needs)V5.
I have installed the plugin and enabled it.

I typed {chronoforms5}contactform{/chronoforms}(not sure if correct but copy pasted from chronoengine.com) without any tags etc and placed this in a single article which is linked to a contact us page(main menu).
I get "form name must NOT be empty!" with the validation under it.

form name in chronoforms is contactform and in article editor I typed in contactform between the tags.
Any ideas?

Also what I'm planning to do is make 3 multi page form and in the end according to your postal code which will show companies(from DB, phpmyadmin) in a radius of let say 5km(any suggestions here is welcome, i'm a total beginner to programming), you can select 3 companies and send them emails at the same time.
But at chronoforms I find "to:" but I need to type in something like $companyEmail or in OOP style so It can obtain email data automaticly from DB because typing emails manually won't work ofcourse.


ps: I'm doing a traineeship in a 1 man company, he knows this might be out of my league to do but I don't want to disappoint him and make him hire a programmer to do this.
I can code simple stuff but using joomla, magento etc is new for me. I had tons more question but there is this legend Greyhead lurking around which answered most of them by simply googling him in chronoforms.
GreyHead 16 Feb, 2015
Hi mustiej,

Are you using a Menu of Type ChronoForms? Then you need to add the form name in the Options tab.

Dos the form work OK from the View Form link in the Forms Manager?

Bob
mustiej 16 Feb, 2015
Legend! Yes, it worked! Thanks.

Still don't have any idea how to realize the 3 email thingy...:/
I can probably code myself but Chronoforms generates codes itself so.. I probably need to look up in the files and work from there or import my PHP codes? but what part do I need to code myself?
GreyHead 23 Feb, 2015
Hi mustiej,

Sorry, I don't' understand the three email question :-(

If you can get the email addresses and add them to a $form->data variable then I think that the latest version of ChronoForms will let you put variable names in the Email To box as {input_name}

Bob
mustiej 23 Feb, 2015
Hi,

Yeah, that's what I meant. The Email To box needs to be a variable so it can automatically assign the selected emails to it.
Got it. I just need to find out how I can make/connect phpmyadmin from byte with joomla and chronoforms. ughh confusing puzzle.
GreyHead 24 Feb, 2015
Hi mustiej,

A ChronoForms DR Read action can read from a database table provided that it is accessible from Joomla!

Bob
This topic is locked and no more replies can be posted.