Competition Entry Form

Permalink Browser Info Environment
Hi

I'm using AdvancedForms to enable people to enter a competition and one of the fields necessary is to ask them to enter a unique code from the packaging of the product they've purchased. As such I need to both validate the code that they've entered using a pre defined list and also to ensure that no one else can enter the same code again.

Is there some built in functionality or are there any scripts that someone could point me in the direction of.

Thanks James

Type: Discussion
Status: New
jgabbani
View Replies:

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Advanced Forms (1.13.1), Advanced Slider (2.0.1), Area Splitter (2.1), Aviary Image Editor (1.3.1), Awkward Slider (1.0.4), Country Redirect (1.1), Data Display (2.7.1.4), Deluxe Image Gallery (1.6.6), DIY Navigation (2.1), Dojo Content Highlight (1.2), Dojo Page Filter Pro (2.3), Fancy Image Links (1.3.8), Flash Video (1.8.1), Galleria image gallery (2.0), Gallery (1.8.1), Html5 Video (1.0.3), Image Banner (0.9.3), Image Slider (1.1), Internationalization (1.3), Lightboxed Image (0.9.2), Multisite Tracking Codes (1.0.0), Page Redirect (1.4), Page Selector Attribute (1.1), Parallax Slideshow (1.0.2), PC5 Custom Templates (3.5), Power Slider Lite (1.1.1), Power Slider Pro (1.2.1), Pro Blog (12.4.4), Pro Events (11.1.0), Pro Forms (7.5.9), Pro Media (7.5.0), Simple SoundCloud Player (0.7), Thumbview Template (1.1.1), Ticker (1.0.1), Twitter Search Block by David K Uspal (2.0).

# concrete5 Overrides
blocks/form, blocks/facebook_like_box, blocks/facebook_like, blocks/page_list, blocks/image, blocks/homepage_box, blocks/switch_language_old, blocks/problog, blocks/search, blocks/content_old, blocks/twitter, blocks/slideshow, blocks/html_old, blocks/article_selector, blocks/featured_block, blocks/problog_list, blocks/pro_event_list, blocks/autonav, elements/header_required.php, elements/footer_required.php, helpers/epaginations.php, helpers/common.php, helpers/blogs.php, themes/wop

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
nginx/1.1.19

# Server API
cgi-fcgi

# PHP Version
5.3.10-1ubuntu3.8

# PHP Extensions
apc, bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 60
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 250M
post_max_size - 205M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/7.1.7 Safari/537.85.16

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.