This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

How to get value from new field type


  1. kastech
    Member

    I've added lists functionality and everything is working except for the actual list id getting updated

    http://grabs.transitnetwork.ca/wQE0C4kjhNZm2taC.png

    Here's what I've done
    1. Created a new field type called Dynamic List
    2. allow user to select a list created in custom list manager (it shows up)
    3. made a element_list_id column in form_elements table, since one element can only use a single list id

    I can't for the life of me figure out how to get the dropdown value from the form editor into the database, I'm sure it's something in builder.js but I could really use a pointer. Here's my builder.js file http://pastebin.com/SaCx5WCW

    the element type is named sql_select

    Posted 9 years ago #

RSS feed for this topic

Reply