Project title:
Drupal 9 coder for a callback function
Posted by:
External project from PeoplePerHour
Started:
27-Jun-2021 19:22 GMT
Description:
It's simple, but I don't find it myself. I have a quit complex form. There are visible, checked, required states. When a use select a field, he have acces to a new select field. This select field is build with taxonomy entity reference. When the user add values to this field, and then change his mind and uncheck the first field. The values are still stored in the form_state. I have a hook_form_alter, where I put the logic if the field is unchecked, then the values from the other field need to be unset. This need to happen in an ajax callback. I have all the code, just need to be adjusted. Pls if you are not an expert, spare your and my time. if ($form_state->getValue('field_a') === 0 ) { $form_state->unsetValue('field_b'); }
Project ID:
3183598
Project category:
Project budget:
Project
Started
React Native Incoming Call Modal
Category : Android, HTML5, IPhone, JavaScript, Mobile App Development Budget : ₹600 - ₹1500 INR
18-May-2024 21:53 GMT
05-18-2024 Data Miner Expert
Category : Data Mining, Database Development, Google Spreadsheets, Research Budget : $2 - $8 USD
18-May-2024 21:52 GMT
Console Football Game Development
Category : Game Design, Game Development, IPhone, Mobile App Development, Unity 3D Budget : $250 - $750 USD
18-May-2024 21:52 GMT
Expert in SharePoint, Power Apps, Automate & Power BI
Category : .NET, C#, Programming, Microsoft, Sharepoint, WPF Budget : $10 - $12 USD
18-May-2024 21:52 GMT
Logo News Page
Category : Graphic Design, Illustration, Logo Design, Photoshop, Web Design Budget : €8 - €30 EUR
18-May-2024 21:49 GMT
Turkish Recording Project -- 92455
Category : Audio Services, English (US) Translator, Translation, Turkish Translator, Voice Talent Budget : $4 - $5 USD
18-May-2024 21:48 GMT
Amazon Sales Boost through Listing Optimization
Category : Internet Marketing, Marketing, Sales, Search Engine Marketing (SEM), SEO Budget : $30 - $250 USD
18-May-2024 21:46 GMT
Illustrative Instagram Post Creation
Category : Caricature & Cartoons, Graphic Design, Illustration, Photoshop Budget : $30 - $250 USD
18-May-2024 21:46 GMT
Make One Existing Webpage Responsive -- 2
Category : CSS, HTML, HTML5 Budget : $10 - $50 USD
18-May-2024 21:45 GMT
All-Genre Roles for Various Platforms
Category : Acting, Training Budget : $200 - $30000 AUD
18-May-2024 21:45 GMT
90K Erotic Romance Manuscript Editing
Category : Book Writing, Creative Writing, Editing, Fiction, Ghostwriting Budget : $750 - $1500 USD
18-May-2024 21:45 GMT
Erotic Romance Manuscript 50k+ Words Editing
Category : Book Writing, Editing, Fiction, Ghostwriting, Proofreading Budget : $250 - $750 USD
18-May-2024 21:45 GMT
Sports Complex Exterior Design
Category : 3D Modelling, 3D Rendering, Building Architecture, Home Design Budget : $15 - $25 USD
18-May-2024 21:43 GMT
Minimalistic Logo Design & Branding
Category : Branding, Illustration, Logo Design, Marketing Strategy, Photoshop Budget : $750 - $1500 USD
18-May-2024 21:41 GMT
WooCommerce & Google Sheet API Project
Category : Google Apps Scripts, Google Sheets, PHP, WooCommerce, WordPress Budget : $30 - $250 USD
18-May-2024 21:38 GMT
Browse All Projects