Programatically identifying a form

Permalink Browser Info Environment
Hello.

Is there a way to programatically pick a form from another package. Specifically, I have a number of community store products that have a Store attribute assigned to allow me to identify a particular product page from another package.

I need to insert a form before each one. Is there a way to programatically get the list of forms and look through their fields until I find the one I want? I'm thinking of a hidden field in the form with a manually set attribute to match to the Store product.

Thanks.

Type: Pre-Sale
Status: New
tangent
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.1
Version Installed - 8.4.1
Database Version - 20180710203437

# concrete5 Packages
Add Attributes (0.0.1), All In: The Advanced Member Import Add On by ampersandApps (1.1.1), Community Store (1.3.1), Dynamic Images (1.2), Formify (3.0), Fundamental (4.0.4), Idoit Accordion (1.0.0), Idoit IFA User Search (1.0.0.0), IdoIT Image block (1.0), IFA User Search (0.0.3.2), Package Magic (1.0.3), Package Magic Starter (1.0), Page Redirect (2.0), Page Selector Attribute (2.0), Read More (1.1.0), User Renewals (0.1.6), Vivid Simple Accordion (1.0.1), Whale OWL Carousel (2.5.7.9), WorldPay Hosted Payment Gateway (1.0)

# concrete5 Overrides
blocks/gond_read_more_bottom/view.js, blocks/gond_read_more_bottom, blocks/switch_language/controller.php, blocks/switch_language/templates/dropflags/view.js, blocks/switch_language/templates/dropflags/view.css, blocks/switch_language/templates/dropflags/view.php, blocks/switch_language/templates/dropflags, blocks/switch_language/templates, blocks/switch_language, blocks/search/templates/hourglass/view.css, blocks/search/templates/hourglass/view.php, blocks/search/templates/hourglass, blocks/search/templates, blocks/search, js/bootstrap-editable.js, src/Concrete/Form/Service/Form.php, src/Concrete/Form/Service/Widget/Color.php, src/Concrete/Form/Service/Widget/Rating.php, src/Concrete/Form/Service/Widget/DateTime.php, src/Concrete/Form/Service/Widget/PageSelector.php, src/Concrete/Form/Service/Widget/Attribute.php, src/Concrete/Form/Service/Widget/Typography.php, src/Concrete/Form/Service/Widget/UserSelector.php, src/Concrete/Form/Service/Widget, src/Concrete/Form/Service/Validation.php, src/Concrete/Form/Service, src/Concrete/Form/CustomFormServiceProvider.php, src/Concrete/Form, src/Concrete

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.37

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

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 2000
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2000
memory_limit - 256M
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 200M
ldap.max_links - Unlimited
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 - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.