Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save button missing while editing form #10

Open
dupovacemir opened this issue Dec 29, 2020 · 3 comments
Open

Save button missing while editing form #10

dupovacemir opened this issue Dec 29, 2020 · 3 comments

Comments

@dupovacemir
Copy link

dupovacemir commented Dec 29, 2020

For some reason, this plugin hides/removes "Save" button from DOM.

image

Steps to recreate:

  1. Create sample form (I can provide my export file if needed)
  2. Activate plugin
  3. Add processor to form, configure, then save
  4. Reload the page, and see the save button being removed

After deactivating plugin, the "Save" button appears as usual. Then repeating steps above, it disappears again.

@janboen
Copy link

janboen commented Jan 8, 2021

Hi, which plugin or processor are you referring to as I have the same problem on a couple of Caldera Forms?

@dupovacemir
Copy link
Author

I'm not sure I understand your question. My problem is caused by 'verify-email-for-caldera-forms' addon for Caldera forms.

@dupovacemir
Copy link
Author

I found the root of the problem, but don't really know why it acts this way. The problem is in the file "config.php" on line 27. The email select field is dynamically generated, and I tried removing it which resulted with fixed problem. For some reason having that field dynamically generated removes "Save" button for the whole form.

My temporary fix was replacing that code with manually generated text input with magic tag:
<input type="email" slug="email" exclude="system" required="true" class="block-input field-config required magic-tag-enabled" name="{{_name}}[email]" value="{{email}}">

Hope this helps someone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants