Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi, I'm writing a module that allows file upload and I've got it working fine with one file upload but I want to be able to upload multiple files. I've created the following form:
I've got a set number of 5 but I enventually want it to have a user setting.
The problem is that I can't seem to retrieve the file information using file_check_upload anymore. Is there a way to get this to work or should I just get the information directly from the $_FILES array?
There is already an existing Protx payment gateway module for Protx out there which can be found here: node/68007.
The problem is, this has been designed to integrate with VSP Direct, which is Protx's payment service where the webhost takes credit card details themselves via their own SSL, and Protx only validates the card details.
I need a module to work with VSP Form, which sends information to Protx servers where the card details and validation are completed on Protx's SSL servers.
Little patch for send feedback letter more then 1 recipient.
/* old code
if (!valid_email_address($edit['mail'])) {
form_set_error('mail', t('You must enter a valid e-mail address.'));
}
*/
// new code
foreach(split(",",$edit['mail']) AS $value){
if (!valid_email_address($value)) {
form_set_error('mail', t('You must enter a valid e-mail address.'));
}
}
I have happily set up the gmap module and used it to show users however I just can't get it to work with nodes. These are the questions:
When I enter location while editing a node the map doesn't fill the frame and the +/- arrow keys don't always work.
When I view the node the location block shows a map with the marker in the right place but it's too high a magnification. Where do I change this without hacking the script?
And, crucially, when I look at map/node there is a map but no markers show.
Hi,
I'm using Jquery for a little Ajax I'm putting in a form. I'm no JS expert but I can usually hack it.
The Jquery works for the stuff I'm using it for, but it seems to clash with the drupal.js or something.
Anyway, I get the following in firebug: input.setAttribute is not a function
This happens on anypage with autocomplete set on a form.
On these pages, all the autocomplete (AJAX) and the collapsable menus fail.
Does anyone have any idea what this could be?
Cheers