All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Use Low Variables in a SAEF in EE 1.7.3

L2 23 Aug 2013 15:56 question, complete

Is it possible to use the values entered in a Low Variable in a SAEF form in EE 1.7.3?

I am currently using Pixel and Tonic's Field Frame Select custom field to hold a drop down list that a user can select from on the front end via a SAEF.

I'd like to be able to allow my client to edit the option values within the drop down list via the EE admin interface which he currently can't do because he doesn't have access to the FieldFrame custom field. Therefore, I was wondering if I could create a Low Variable that would contain the list of options in the drop down that he could edit whenever he needed. Then I would use that LV list in my SAEF form so that users could select their option in the SAEF form.

Is this possible? If so, any idea how to accomplish it?

Thanks.
Lori

Replies

  1. Low 23 Aug 2013 18:28

    Well, in EE2 you could probably use Pixel & Tonic's List type to create a list of values. Not sure if that's available for EE1, tho.

    If your client has access to editing variables, you could use a Select var type, and let them edit the options in the Edit Var form. Then use {exp:low_variables:options} to output them.

    Anything else, and you'll have to use some PHP in your template. Or upgrade to EE2, of course. ;)

  2. L2 23 Aug 2013 20:22

    I'm currently using PHP in the template but unfortunately, I don't know how to write PHP. Someone helped me write my current PHP to capture what the end user (not client) enters in each SAEF custom field.

    I basically want to use LV to list the options. Then those LV options will appear in my SAEF and the option the end user (not client) selects needs to be recorded in the custom field (not the LV).

    This sounds like it may be pretty complicated to accomplish in EE1 so I may be better off leaving it as is and then just making the changes to the option values for the client when necessary.

    Thanks.
    Lori

  3. Low 23 Aug 2013 21:16

    It's possible with PHP, although I wouldn't recommend it. It opens up a big security hole, where your client could unwittingly break the site. Not sure if it's worth that risk, to be honest.

  4. L2 25 Aug 2013 14:43

    Thanks for all of your input Low. I appreciate it.

    Lori