-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
--Select One-- displaying in Pods linked Gravity Form field #144
Comments
After much troubleshooting I have narrowed it down to the Pods Gravity Forms plugin (https://wordpress.org/plugins/pods-gravity-forms/). When that is deactivated the --Select One-- field completely disappears. I'm not sure why. |
There is someone else with this issue here - https://wordpress.org/support/topic/radio-button-bug-2/#post-13757744 |
@sc0ttkclark Confirmed and can reproduce. This is specific to Radio Buttons. We're adding a 'placeholder' and shouldn't be. |
I noted that it does not appear to be happening with all of the radio buttons as I have other radio buttons on the same form... |
I am also having this problem. |
The select one text will show for radio fields when they are not required. The select one text maps to an empty value so it's the only way to allow for an empty value there. I'm adding a filter that can optionally disable that: To use it, in Pods GF 1.4.6 you would do this: Or you can filter it and check the second argument which is the Gravity Forms field object that you can specify based on ID. |
Issue Overview
A Gravity Form radio button field on this form, under "Target indication(s) for the clinical trial(s)" - https://newtbvaccines.org/tb-vaccine-pipeline-form/ - is populating related items from a Pods taxonomy but it is displaying an item called "--Select One--" (https://share.getcloudapp.com/5zudmdgO) which is not one of the taxonomies and it won’t let me delete it from the form field (https://share.getcloudapp.com/xQuYpY4v).
Screencast: https://share.getcloudapp.com/o0um8ozl
Expected Behavior
--Select One-- should not be there or should go away when deleted.
Current Behavior
Whenever I delete --Select One-- it reappears immediately.
Possible Solution
Steps to Reproduce (for bugs)
Attempt to delete --Select One-- from form field.
Form Upload
For candidates in preclinical stages of development (proof of concept in animal model(s) or IND preparation and enabling studies)<\/h4>\n
If the candidate is in proof of concept in animal model(s) (Stage B, above) or IND preparation and enabling studies (Stages C and\/or D, above), please move to the bottom of this form and provide a brief description and upload relevant articles. At least one article must confirm the phase of development you have selected.<\/p>","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""},{"type":"section","id":15,"label":"Clinical Candidates","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""},{"type":"html","id":16,"label":"For candidates in clinical development","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","content":"
For candidates in clinical development<\/h4>\n
If the vaccine candidate is in clinical development, please provide the additional information requested below.<\/p>","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""},{"type":"radio","id":17,"label":"Target indication for the clinical trial(s)","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"choices":[{"text":"Immunotherapy \/ Shortening TB treatment \/ Improving TB cure rates","value":"32","isSelected":false},{"text":"Prevention of Mtb infection or sustained infection","value":"29","isSelected":false},{"text":"Prevention of TB disease","value":"30","isSelected":false},{"text":"Prevention of TB recurrence","value":"31","isSelected":false}],"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","conditionalLogic":"","productField":"","enableOtherChoice":false,"enablePrice":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":"","pods_populate_related_items":true},{"type":"text","id":35,"label":"Other target indication (please specify)","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","enablePasswordInput":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"checkbox","id":19,"label":"Target population(s) for the clinical trial(s)","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","choices":[{"text":"Adolescents \/ Adults","value":"25","isSelected":false},{"text":"Elderly","value":"27","isSelected":false},{"text":"Infants","value":"26","isSelected":false},{"text":"MDR-TB","value":"33","isSelected":false},{"text":"People living with HIV","value":"28","isSelected":false}],"inputs":[{"label":"Adolescents \/ Adults","name":"","id":"19.1"},{"label":"Elderly","name":"","id":"19.2"},{"label":"Infants","name":"","id":"19.3"},{"label":"MDR-TB","name":"","id":"19.4"},{"label":"People living with HIV","name":"","id":"19.5"}],"formId":3,"description":"Please indicate all populations in which the candidate is being tested for the indication referenced above.","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","conditionalLogic":"","productField":"","enableSelectAll":"","enablePrice":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"text","id":20,"label":"Other (please specify)","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"19","operator":"is","value":"Other (please specify)"}]},"productField":"","enablePasswordInput":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"textarea","id":34,"label":"Registry Information","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"formId":3,"description":"Please provide the registry name and number for all clinical trials for this candidate, and indicate which are active, not active or completed. If you prefer, you can upload a file with this information at the end of this form.","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"above","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","form_id":"","useRichTextEditor":false,"multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"fields":"","displayOnly":"","checkboxLabel":""},{"type":"section","id":21,"label":"Additional information and publications","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""},{"type":"textarea","id":23,"label":"","adminLabel":"vaccine_description","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"formId":3,"description":"
Please provide a brief description of the vaccine candidate.<\/h3>","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"above","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","form_id":"","useRichTextEditor":false,"multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"checkboxLabel":"","fields":"","displayOnly":""},{"type":"fileupload","id":24,"label":"File Upload","adminLabel":"files","isRequired":true,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"formId":3,"description":"
Upload a minimum of one (1) and up to five (5) articles about the candidate that have been published in peer-reviewed journals (.pdf format, max 10MB). If the candidate is in the proof-of-concept in animal model(s) phase, at least one article must provide protection and immunogenicity results in at least one animal model. For candidates in clinical development, you can include the clinical trial registry information as a file upload here if you prefer.<\/p><\/strong>","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"above","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","maxFileSize":10,"maxFiles":"5","multipleFiles":true,"allowedExtensions":"","productField":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"checkboxLabel":"","fields":"","displayOnly":""},{"type":"section","id":25,"label":"Submission","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""},{"type":"checkbox","id":26,"label":"Authorization","adminLabel":"","isRequired":true,"size":"medium","errorMessage":"","visibility":"visible","choices":[{"text":"I confirm that I am authorized to submit this form on behalf of the vaccine sponsor\/lead vaccine development institution for this vaccine candidate","value":"I confirm that I am authorized to submit this form on behalf of the vaccine sponsor\/lead vaccine development institution for this vaccine candidate","isSelected":false,"price":""}],"inputs":[{"id":"26.1","label":"I confirm that I am authorized to submit this form on behalf of the vaccine sponsor\/lead vaccine development institution for this vaccine candidate","name":""}],"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","conditionalLogic":"","productField":"","enableSelectAll":"","enablePrice":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"checkbox","id":27,"label":"Newsletters","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","choices":[{"text":"I would like to receive information about becoming involved in the Stop TB Partnership Working Group on New TB Vaccines.","value":"I would like to receive information about becoming involved in the Stop TB Partnership Working Group on New TB Vaccines.","isSelected":false,"price":""},{"text":"I would like to receive periodic email updates about TB vaccine R&D from the Working Group on New TB Vaccines.","value":"I would like to receive periodic email updates about TB vaccine R&D from the Working Group on New TB Vaccines.","isSelected":false,"price":""}],"inputs":[{"id":"27.1","label":"I would like to receive information about becoming involved in the Stop TB Partnership Working Group on New TB Vaccines.","name":""},{"id":"27.2","label":"I would like to receive periodic email updates about TB vaccine R&D from the Working Group on New TB Vaccines.","name":""}],"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","conditionalLogic":"","productField":"","enableSelectAll":true,"enablePrice":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"captcha","id":28,"label":"CAPTCHA","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","productField":"","captchaType":"","captchaTheme":"","fields":""},{"type":"html","id":29,"label":"","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"formId":3,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","content":"
Please confirm that all information is correct before submitting.<\/p><\/i>","productField":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":""}],"version":"2.4.21","id":3,"nextFieldId":36,"useCurrentUserAsAuthor":true,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"confirmations":[{"id":"5f1f3ffdbeda4","name":"Default Confirmation","isDefault":true,"type":"message","message":"
Thank you for submitting your vaccine! We will be in touch if we need additional information. A copy of your submission has been sent to your email.<\/h3>","url":"","pageId":0,"queryString":"","disableAutoformat":false,"conditionalLogic":[]}],"notifications":[{"isActive":true,"name":"Admin Notification","service":"wordpress","event":"form_submission","to":"[email protected]","toType":"email","cc":"","bcc":"[email protected]","subject":"New submission from {form_title}","message":"{all_fields}","from":"[email protected]","fromName":"{submitter_name (First):1.3} {submitter_name (Last):1.6} from {institution:3}","replyTo":"{Submitter Email:2}","routing":null,"conditionalLogic":null,"disableAutoformat":false,"enableAttachments":true,"id":"5f1f3ffdbe848"},{"isActive":true,"name":"Submitter Notification","service":"wordpress","event":"form_submission","to":"2","toType":"field","cc":"","bcc":"","subject":"Thank you for submitting your vaccine","message":"Thank you!!\r\n\r\nA copy of your submission is below. We will be in touch with you if we need any additional information.\r\n\r\n
\r\n\r\n{all_fields}","from":"[email protected]","fromName":"Working Group on New TB Vaccines","replyTo":"","routing":null,"conditionalLogic":null,"disableAutoformat":false,"enableAttachments":true,"id":"5f6b020a218f9"}],"feeds":{"pods-gravity-forms":[{"id":"1","form_id":"3","is_active":"1","feed_order":"0","meta":{"feedName":"Vaccine Candidate Submission","pod":"vaccine","pod_fields_manufacturer":"8","pod_fields_manufacturer_custom":"","pod_fields_vaccine_development_partners":"9","pod_fields_vaccine_development_partners_custom":"","pod_fields_related_publications":"","pod_fields_related_publications_custom":"","pod_fields_clinical_trials":"34","pod_fields_clinical_trials_custom":"","pod_fields_other_target_indication":"35","pod_fields_other_target_indication_custom":"","pod_fields_submitter_name":"1","pod_fields_submitter_name_custom":"","pod_fields_submitter_institution":"3","pod_fields_submitter_institution_custom":"","pod_fields_submitter_email":"2","pod_fields_submitter_email_custom":"","pod_fields_date_submitted":"4","pod_fields_date_submitted_custom":"","pod_fields_submitted_files":"24","pod_fields_submitted_files_custom":"","wp_object_fields_post_title":"6","wp_object_fields_post_title_custom":"","wp_object_fields_post_content":"23","wp_object_fields_post_content_custom":"","wp_object_fields_post_excerpt":"","wp_object_fields_post_excerpt_custom":"","wp_object_fields_post_author":"","wp_object_fields_post_author_custom":"","wp_object_fields_post_date":"date_created","wp_object_fields_post_date_custom":"","wp_object_fields_post_name":"","wp_object_fields_post_name_custom":"","wp_object_fields_post_modified":"","wp_object_fields_post_modified_custom":"","wp_object_fields_post_parent":"","wp_object_fields_post_parent_custom":"","wp_object_fields_comments":"","wp_object_fields_comments_custom":"","wp_object_fields_phase":"10","wp_object_fields_phase_custom":"","wp_object_fields_target_indication":"17","wp_object_fields_target_indication_custom":"","wp_object_fields_target_population":"19","wp_object_fields_target_population_custom":"","wp_object_fields_vaccine_type":"11","wp_object_fields_vaccine_type_custom":"","wp_object_fields__thumbnail_id":"","wp_object_fields__thumbnail_id_custom":"","custom_fields":[{"key":"","value":"","custom_key":"","custom_value":""}],"update_pod_item":"1","enable_markdown":"0","enable_current_post":"0","enable_prepopulate":"0","delete_entry":"0","feed_condition_conditional_logic":"0","feed_condition_conditional_logic_object":{"conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"1.3","operator":"is","value":""}]}}},"addon_slug":"pods-gravity-forms","event_type":null}]}},"version":"2.4.21"}
Pods Package Export
Related Issues and/or PRs
Todos
WordPress Environment
PHP Version: 7.3.12
MySQL Version: 5.7.26
Server Software: Apache
Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Session Save Path:
Session Save Path Exists: No
Session Save Path Writeable: No
Session Max Lifetime: 1440
Opcode Cache:
Apc: Yes
Memcached: No
OPcache: Yes
Redis: No
Object Cache:
APC: Yes
APCu: Yes
Memcache: Yes
Memcached: No
Redis: No
WPDB Prefix: wp_qvbt4c0frs_
WP Multisite Mode: No
WP Memory Limit: 256M
Current Memory Usage: 19.177M
Current Memory Usage (real): 2.000M
Pods Network-Wide Activated: No
Pods Install Location: /var/www/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: Working Group New Vaccines
Currently Active Plugins:
Activity Log: 2.6.0
Beautiful taxonomy filter: 2.4.3
Beaver Builder Plugin (Agency Version): 2.4.1.1
Beaver Themer: 1.3.2.3
GDPR Cookie Consent: 1.9.4
Gravity Forms: 2.4.21
Pods - Custom Content Types and Fields: 2.7.24
Pods Beaver Themer Add-On: 1.3.3
Pods Gravity Forms Add-On: 1.4.3
PowerPack for Beaver Builder: 2.12.4
Redirection: 4.9.2
ShortPixel Adaptive Images: 2.0.10
ShortPixel Image Optimizer: 4.21.1
Simple History: 2.37.2
TablePress: 1.12
TablePress Extension: Responsive Tables: 1.7
Wordfence Security: 7.4.12
WP Help: 1.7.0
Yoast Duplicate Post: 3.2.6
Yoast SEO: 15.3
The text was updated successfully, but these errors were encountered: