LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   drupal block form (https://www.linuxquestions.org/questions/programming-9/drupal-block-form-678108/)

frieza 10-21-2008 12:12 PM

drupal block form
 
i'm trying to create a block in drupal that performs calculations based on a variable from another part of the page, this much i can do but i also need to accept user input for 2 other values, how can i create a form that takes the input then displays the results in the same block?

indienick 10-22-2008 07:36 AM

I don't know if you would be able to do it with HTML forms - there might be a need to pass POST (or GET) data and that might require re-loading the page. Do not hold me to this, as I have not done any sort of in-depth HTML+PHP in years.

Alternatively, you could use JavaScript.


All times are GMT -5. The time now is 09:07 PM.