Forms submit to blank page

sahul42 13 Apr, 2012
bonjour j'ai un problème avec chronoform et chronoconnectivity
j'ai un formulaire chronoform sur lequel je selectionne une date et je click sur envoyer et je veux avoir sur un autre formulaire les article creer a cette date comment faire???
GreyHead 13 Apr, 2012
Hi sahul42,

You can do this by using a DB Multi-Record Loader to search the #__content table for articles that match the date submitted by the first form.

Bob
sahul42 13 Apr, 2012
yes i did that but after submit tne form is blank help me please!!!! any code or tuto
GreyHead 13 Apr, 2012
Hi sahul42 ,

I'm sorry it's impossible to usefully suggest code without any information about your form or tables. What code or settings have you tried that gives the error?

Bob
sahul42 13 Apr, 2012
in where statement of my form (advanced tabbed)
when i Write date='2012-03-02' everything is ok but when i write date = datenow my page is blank after submit
NB: date is a field in my table
datenow is the name of my date selector which is on my chronoform
GreyHead 13 Apr, 2012
Hi sahul42 ,

Where are you writing date = datenow ???? I'm still missing that part entirely.

And it should probably be `date` = '{datenow}' or `date` = '?php echo $form->data['datenow']; ?>'

Bob
sahul42 13 Apr, 2012
Notice: Undefined index: datenow in C:\wamp\www\joomla_1.6\AFB\administrator\components\com_chronoforms\form_actions\custom_code\custom_code.php(18) : eval()'d code on line 5
that is a bugg when i use in DB MultiRecordLoader (advanced tabbed ) where statement
sahul42 13 Apr, 2012
actually i fix the bugg but after submit my page is blank
GreyHead 14 Apr, 2012
Hi sahul42,

A blank page is usually a sign of a PHP Error. Check the page source and see if the error is visible there or in your server logs.

Bob
sahul42 14 Apr, 2012
hi bob now i want to show all information about the user when i write this:

<?php JRequest::getString('mail', '', 'post') = & JFactory::getUser()->email;
?>
and
<?php JRequest::getString('name', '', 'post') = & JFactory::getUser()->name ;
?>




in where statement of DB Multi Record Loader it doesn't work
mail and name is on my form
GreyHead 14 Apr, 2012
Hi sahul42,

You need to write valid code. You can't just make it up and expect it to work.

I can't even work out what you intend that to do? A basic WHERE clause looks like `column_name` = 'value' and yours don't look like that :-(

Bob
sahul42 17 Apr, 2012
hi GreyHead
on my chronoform i have 1 date selector
Now i want to know how can i select the 1 row after submit the date (custum code)
GreyHead 17 Apr, 2012
Hi sahul,

Sorry, I don't understand your question :-(

Bob
sahul42 18 Apr, 2012
the date selector don't desapear after i have select one date
GreyHead 19 Apr, 2012
Hi sahul42,

Please post a link to the form so I can take a quick look.

Bob
sahul42 19 Apr, 2012
sorry i am in localhost
i want to change the date format (2010-02-04 to 04-02-2010)
sahul42 23 Apr, 2012
all my field are Required but when i don't write anything in the field and i submit the form save blank in my database help!!!!!
GreyHead 23 Apr, 2012
Hi sahul42 ,

There's probably a JavaScript error on the page. Use your browser web developer tools to take a look.

Bob
GreyHead 24 Apr, 2012
Hi sahul42,

There's an error that looks as though it is because jQuery is not in noConflict mode when the validation code runs.

Bob
sahul42 24 Apr, 2012
ok have some idea to fix that
sahul42 24 Apr, 2012
how can i print my table after load data on my chronoform i use this code but it doesn't work


<div class="icon print"><a href="/AFRICAB/AFB/index.php/fr/?option=com_chronoforms&chronoform=gene?tmpl=component&print=1&layout=default&page=" title="Imprimer" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" rel="nofollow"><img src="/africab/AFB/media/system/images/printButton.png" alt="Imprimer" /></a></div>
GreyHead 25 Apr, 2012
Hi sahul42,

It looks as though you have got folder paths for the files where you need to have URLs.

Bob
sahul42 26 Apr, 2012
I have two forms F1 and F2 which returns me all the information from two different tables after I send the registration dates given through another form F0. Now I want to create another form that has two F3 Panel: Panel P1 and P2 Panel. So I run my form lorque he displays F0 I select the date and then I send it to execute the requettes F1 and F2 and F3 F3 shows me if I select P1 I displayed if I select F1 and P2 is m poster F2 thank you for helping me
GreyHead 26 Apr, 2012
Hi sahul42,

Eh??

Bob
sahul42 30 Apr, 2012
how can i do to print the result of my submit event
ukash 08 May, 2012
thanks GreyHade you are wonderfull you solve all problem in this forum thanks alot so much
im very glad to be here
This topic is locked and no more replies can be posted.