submitt form TO article, Question

strgg 11 May, 2009
Hi

First of all, thank you for this extension. i have a question regarding the ability of "chronoforms submit content":

i want to have this fields,

field 1, textfielld: name
field 2, textfield: city
field 3, imageupload 1
field 4, imageupload 2
field 5, textarea: description

i want this fields packed into an article but exactling at defined positions. this means that f.ex. the name and city are
inserted into column1 from a table, the pictures resized in column 2 and the description in column 3.

is the exact placing possible ? .. and is the resizing from pictures an integrated function into chronoforms ??

thank you very much for your advise

Best regarrds,
stefann
GreyHead 11 May, 2009
Hi stefann,

Joomla articles have very simple predefined structure and all of the content needs to go into the introtext and fulltext fields. You will need to write the code to process the input from your form to fit into these fields. This can include all of the fields you list and the format can be as precise as you care to make it but there is nothing automatic.

There is also nothing in ChronoForms that will re-size pictures; though Emmanuel's Image plugin does offer some re-sizing (I forget what now).

Bob
strgg 11 May, 2009
hi bob

thanks for the information. i am willing to learn how that is going to proceed.

You will need to write the code to process the input from your form to fit into these fields



In which direction would you go? Javascript or Php and where to code? could you make a short example about the code?


lets say we have the $variable_NAME and want to put it into table1_row1_colum1 ......
or would you better advise to go with div's then tables?

thanks for a short code example ... if you are inspired and have 3 minutes left :mrgreen:

regards,
stefann
Max_admin 12 May, 2009
Hi stefann,

for the form data to go to the table, you need to have the posted variable name similar to the table column name, I will talk about the content table since this is what you need, the content table has a column called "title", to store some data into this column, you need to have a field in your form called "title" OR you can override some field upon submission, how ? say your form field is called "field_1" and you want it stored in title then you need this code in the onSubmit box!


<?php
JRequest::setVar('title', JRequest::getVar('field_1'));
?>


you must be connected to this table and DB connection is enabled of course!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
strgg 14 May, 2009
hi greyhead and admin

thank you for concerning about my interest.

even so it sounds to be easy achievable I would like to have it done by a professional.

if you tell me the price you charge, i can transfer that via paypal if i am ready.

you can also send me info at if you prefer doing it this way.

best regards,

stefan
Max_admin 14 May, 2009
Hi Stefan,

Please send me an email through the contact us page and I will let you know a quote for this and we can exchange more details! for safety reasons I will edit your email address here!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.