Hot answers tagged

3 votes

Missing data - different IP error when submitting a form

OK, I found a quick fix / workaround for this. What the Forms Module looks to be doing is checking the IP address of where the form data is coming from, to the IP address that the form thinks it is. ...
2 votes

Problems with Visitor 3.01 and The update form tag

Thanks to the Romans-8---31-39 comment's, I discovered when i am logged as admin, exp:visitor:update_form is not processed, logged as member it is processed, so the the problem is solved!
  • 885
2 votes

CartThrob Processing Without Required Email

NM The problem turned out to be an older version of the form on the site that didn't have the required parameter in place that someone had bookmarked. Thanks!
  • 322
2 votes

How to pre-select option value when option text differs from the value

I'm assuming you have "AUS" saved in the members profile, you could use this conditional: <select name="country_code"> <option value="AUS"{if country_code == "AUS"} selected{/if}>...
  • 3,163
2 votes

Is there a layout switcher in EE2?

If I understood what you want, maybe one of these add-ons can help you: Entry Type - A dropdown fieldtype that shows/hides other fields on the publish page; Better Pages - Better Pages is an ...
  • 6,108
2 votes
Accepted

What's EE4's best forms solution?

In the world of EE4 Freeform Pro will be perfect choice for creating the forms. And if you want to play with channels then Channel Form comes in the picture. All things depends on your requirement, ...
2 votes
Accepted

Handling Forms With ExpressionEngine: the ACT ID

There is no magic method for this, as far as I know. It's pretty standard that in the upd.your_addon.php file, in the install function, you just add rows to your exp_actions table like so: class ...
  • 5,900
2 votes
Accepted

Create a channel entry via POST request

Essentially, you'll create a module with an ACT URL. (https://docs.expressionengine.com/v2/development/modules.html). You'll have your mod.module_name.php file, which will contain your logic to ...
1 vote

doing Forms in EE

Your suggestion of building it in straight php is still a perfectly acceptable and valid option. A few php-enabled templates with forms posting to themselves, validating and redirecting to the next ...
  • 185
1 vote

doing Forms in EE

Use Channel Forms: https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_form/index.html The easiest way to do multi-page forms is using javascript to just show / hide the next ...
1 vote
Accepted

The form you submitted contained the following errors

If CAPTCHA is enabled and the image isn't showing then it could be a couple of things. Your CAPTCHA directory isn't writeable so EE can't create the image. You don't have the CAPTCHA code in your ...
  • 7,176
1 vote

Plugin to show download only after the form has been fielded out?

Link Vault is a good one. Alternatively you could always display the link on the forms result page and utilise Freeform to control validation of the results page and saving of the form data.
  • 5,353
1 vote

Pre-populate DevDemon Form Fields?

You can do it with jQuery. You'll just need to know the id of the field you are pre-populating. {if segment_1 == "foo"} <script type="text/javascript"> $(function () { $('#...
1 vote

Missing data - different IP error when submitting a form

Thanks for that , same thing happened to me when I turned on cloudflare cdn for my site. I did it via Cname so it changed my visible ip and caused the problem with all of my forms. Commenting those ...
  • 326
1 vote
Accepted

How to pre-select option value when option text differs from the value

Why not save your user the trouble and list all countries? You could use an 3rd party plugin: Reegion-Select, devot-ee.com/add-ons/reegion-select.
  • 325
1 vote

Devdemon forms return url without ugly gray EE "thanks" page first

There is actually an option under "Submission Flow" to change it. You have four different options. Confirm Message Behavior 1) Before Redirecting 2) On the confirmation page 3) Only Show Message (...
  • 1,369
1 vote

DevDemon Forms - Entry Linked breaks publishing/editing entries

I was able to fix this by going to Admin -> Security and Privacy -> Security and Sessions and setting the User Session Type to Cookies only.
1 vote
Accepted

Column layout used for form, but not for display of entries

Does DevDemon no longer support this software? This is the method the devdemon.com website recommends on their website for obtaining support, since their support forum is now read-only - but for more ...
1 vote

How can I send an automated email to pending members after they complete the registration form?

There's a free add-on that does just that: https://devot-ee.com/add-ons/registration-emails
  • 506
1 vote

Search Form Help

Thanks AllInOne! That sparked a solution. You can do this with some jQuery to add missing the target attribute. After the search form code, put: <script type="text/javascript"> $('#searchform')....
1 vote
Accepted

How to make an entry with dynamic drop down list?

If you are using Relationship field (i.e. relating question/answer entry to "category" entry), then you need to output the variables like this: {relationship_field:title} See the docs for more ...
  • 2,846
1 vote

Help with EE Ajax form

read much more in details in this site here - http://watabelabs.com/blog/view/submitting-expressionengines-contact-form-with-ajax
1 vote

Help with EE Ajax form

Looks like you can add a name=required[] parameter to each form field you want to make required: https://ellislab.com/expressionengine/user-guide/add-ons/email/contact_form.html#required
  • 133
1 vote
Accepted

post PHP multiple checkbox array and send values in email

Please post your <form> tags. First thing, no square brackets belong on this line: $checkList = $this->EE->input->post(['check_list']); It should be $checkList = $this->EE->...
  • 5,900
1 vote

DevDemon Forms - form:error:required_error

Just go to Modules -> Forms -> Settings and make sure you have messages in there. Then click Save. If you updated from an older version, these might not be saved.
  • 1,369
1 vote
Accepted

Solspace Rating: adding parameter inside the <form>

As per the docs (and as Jim says) Try using the `form:attribute parameter. Something like this : form:data-abide="" Might work, might strip the empty tag, however even if not this should get it on ...
  • 2,418
1 vote

Comments Field Is Required Error when Implementing Comment Form

Here are some things that could cause this to fail: Front-end caching such as Varnish or CloudFlare. Make sure that your cache layer is set to not cache URLs with a get parameter named ACT in them, ...
  • 1,696
1 vote

Freeform Pro Dynamic Admin Notifications

You'll definatly need to develop an extension which hooks freeform. Sounds complicated but its real easy, I've done it many times with freeform (you'll be suprised what clieents ask for) and you'll ...
  • 2,418
1 vote

form validation for module mod file template tags

Looks like you're looking for the Forn Validation library that is inherited from CodeIgnitor. What you seem to be trying to do is set the validation rules at thes same time as setting up the form, ...
  • 2,418
1 vote

Delete Assets input fields in a front-end form

Should use 'change' event instead of click. Cause user may not select any new file, then it will remove the existing file. <img src="{url}" /> <input type="hidden" name="member_photo" value="...
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible