Sorry, that is not possible.Hello Snog, one question...
Can i create one like Dropbox, that depending of the selection, it triggers X specific field? Pretty much load a field of certain option is selected on another field?
You need to take this up with the author of that add-on (ads manager).View attachment 130576
Installed this plugin the other day, did not have time look into it until today. Getting this error when clicking the "Ads manager" link in admin. Have not touched any of the configuration.
Ideas?
Thanks!
Ivar
It's not possible in the current release, but it is already in the next release. I'll give you what needs to be changed below.Hey @Snog how would you force a multi-text field to have x amount of characters such as words. Say you want some to describe in at leas ta 100 words why they would like to join your group? Is it possible to force this?
if ($question['type'] == 1 && $question['regex'] && $question['regexerror'] && !preg_match('#' . str_replace('#', '\#', $question['regex']) . '#siU', $reply[$question['display']])) $error .= $question['regexerror'] . '<br />' . "\r\n";
if ($question['type'] == 2 && $question['regex'] && $question['regexerror'] && !preg_match('#' . str_replace('#', '\#', $question['regex']) . '#siU', $reply[$question['display']])) $error .= $question['regexerror'] . '<br />' . "\r\n";
^\W*(?:\w+\b\W*){100,2000}$
Not possible now, also not happening on the future?Sorry, that is not possible.
It's on the wish list, but if it ever happens it would be with a major rewrite of the application forms system. So don't expect it any time soon since I don't anticipate rewriting the forms system in the near future.Not possible now, also not happening on the future?
It's not possible in the current release, but it is already in the next release. I'll give you what needs to be changed below.
Edit the library/Snog/Applications/ControllerPublic/Applications.php file. Locate this line (line 245)...
Immediately after that line add this..Code:if ($question['type'] == 1 && $question['regex'] && $question['regexerror'] && !preg_match('#' . str_replace('#', '\#', $question['regex']) . '#siU', $reply[$question['display']])) $error .= $question['regexerror'] . '<br />' . "\r\n";
Then use this regex for the question..Code:if ($question['type'] == 2 && $question['regex'] && $question['regexerror'] && !preg_match('#' . str_replace('#', '\#', $question['regex']) . '#siU', $reply[$question['display']])) $error .= $question['regexerror'] . '<br />' . "\r\n";
And provide a validation error something like this.. Your entry for X question must be between 100 and 2000 words in length.Code:^\W*(?:\w+\b\W*){100,2000}$
That checks WORDS, not characters. Change the 100 to a lower number for fewer words.Hmm I tried this and enter well over 340+ characters, but it still shows me the Validation error like I don't have enough?
Thanks for the clarification! Works like a charm!That check WORDS, not characters. Change the 100 to a lower number for fewer words.
I can't duplicate this.Found a bug today. I set the redirect to "Newly Created Thread". When the form was completed, it took me to a bad URL.
The URL it took me to was: http://www.jffgaming.com/threads/6643
But should of been: http://www.jffgaming.com?threads/6643
An update to advanced application forms has been released. Those that have purchased this add-on, please log into your account on my site to download this update.
Changes in version 1.2.11:
- Add - Regular expression checking for multi-line text question type.
- Fix - Improper form return URLs when no .htaccess file is present on a site.
To be honest, I haven't looked at Simple Forms except for when someone has referenced something in a post or PC. So I don't know what could or couldn't be imported, or even if it's possible. For that reason, it's not something that's on my priority list and I don't expect it to be there in the near future.
To be honest, I haven't looked at Simple Forms except for when someone has referenced something in a post or PC. So I don't know what could or couldn't be imported, or even if it's possible. For that reason, it's not something that's on my priority list and I don't expect it to be there in the near future.
We use essential cookies to make this site work, and optional cookies to enhance your experience.