Submit Article & Checkbox.

rubiks 01 Dec, 2011
Hello!

I have two problems with ChronoForms.

1 - I added the action "submit article" in box "On submit", an article is created but it's empty.

2 - I receive correctly completed form by email, but two fields gives me the result: {input_checkbox_group_XX}

Sorry for my english and thanks for the support !

:)
GreyHead 02 Dec, 2011
Hi Rubiks,

1) The Submit article action requires that you use specific input names in your form to match the jos_content table. Do your form inputs have the correct names?

2) You need to drag a Handle Arrays action into the On Submit event and move it up before Email action.

Bob
rubiks 02 Dec, 2011
Thank you! it works well for checkboxgroup.

but I dont understand the second point, I did not touch anything in the db.

Thanks for support.🙂
GreyHead 02 Dec, 2011
Hi Rubiks,

Do the input names in your form match the column names from the jos_content table: title, alias, introtext, fulltext, etc?

Bob
rubiks 02 Dec, 2011
I put the title (the field "name" and its work), but I dont know what to put in the rest.
there are many field.

Thank for great support !
GreyHead 02 Dec, 2011
Hi Rubiks,

Looking at the plug-in again moost of it is done for you. You need to add four input names on the Fields tab: for the article Title, Full Text, Intor Text and Author Alias.

Bob
rubiks 02 Dec, 2011
Sorry, i dont understand.😟

In "Submit Article" i put :

Article Title Field : input_text_9
Full Text Field :
Intro Text Field :
Author Alias Field : input_text_9

i can put only one field, If I put a single field, it displays only one result, but I wonder if the article is like email.

sorry for my misunderstanding.
Here is a screentshoot of "events"
Submit Article & Checkbox. image 1
GreyHead 02 Dec, 2011
Hi Rubiks,

You need entries for at least one of the intortext or fulltext boxes - that's where the article content comes from.

Bob
rubiks 03 Dec, 2011
But, if i put, input_text_6 in intro or fulltext, it only shows the results of a field (input_text_6) how to display all the fields?

Thanks !🙂
GreyHead 05 Dec, 2011
Hi Rubiks,

You need to add custom code to join together all the informtion you want in the article into a single string to go into the introtext / fulltext fields.

There are several threads here on doing this with ChronoForms v3. The code is slightly different in CFv4 but the basic method is the same.

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