
08-12-2014, 01:28 AM
|
|
|
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by leia
Since upgrading Easy Forms to 4.2.6, one of my forms isn't working properly. This section of the before submit isn't catching:
PHP Code:
if (stristr($qo['88'], "Large")) { $form['forumid'] = 112; } elseif (stristr($qo['88'], "Mini") ) { $form['forumid'] = 113; } elseif(stristr($qo['88'], "Tiny")) { $form['forumid'] = 114; }
I haven't changed anything else (and other parts of the same before submit are working)... how can I fix this?
ETA: Fixed it... changing the $form['forumid'] to just $forumid seems to have corrected it. Can anyone tell me why this happened? I'm happy to have figured it out through trial and error, but I would love to learn.
|
cant get this working at all.....
I've tried
Code:
elseif(stristr($qo...
this
and even
|