فتحات العرب Joomla! • Index page: General Questions/New to Joomla! 3.x • Re: Form in article/module

Thursday, May 29, 2014

General Questions/New to Joomla! 3.x • Re: Form in article/module

When you say "script for form calculation is already added to template" what do you mean?



Using method=post means calculation (or whatever form processing) will be done by a full page load, like clicking any nav link would do; the target page has to pluck the input from POST vars, do its operation, and produce output presumably including the answer to your calculation. It can either be a part of Joomla, or not.



If it is a part of Joomla, you either need to create a new component, or you could do it as a hybrid; achieve it as an iframe which targets a php file independent from Joomla; the display would still appear in Joomla.



Now, another option is to use Javascript instead of method=post; this avoids needing to integrate a back-end processing script (a custom PHP file) into Joomla.



I hope this was clear.

Statistics: Posted by NathanHawks — Thu May 29, 2014 7:43 pm








via Joomla! http://ift.tt/1wtRw4m

No comments:

Post a Comment