General Technical Discussions for Service

Get Involved. Join the Conversation.


    Pavel Franger
    input/FormInput not updating custom field
    Topic posted September 14, 2019 by Pavel FrangerRed Ribbon: 250+ Points, last edited September 15, 2019 
    35 Views, 2 Comments
    input/FormInput not updating custom field
    My FormInput widget is not updating a custom field

    Hi everyone,

    I have extended the input/FormInput widget and i'm trying to use it to update a custom field, but it's not working.

    The web form displays the values in the custom menu field as a select box.

    It allows me to submit the web form but when i check the contact field using a report the field has not updated.

    This is my input/FormInput field widget code:

    <rn:widget path="input/FormInput" name="contacts.c$contact_type" required="true" label_input="Who are you enquiring for?"/>

    Any ideas what could be wrong?

    Comments Are Closed


    • Lakshay Bhalla

      Are you able to get the data in the controller/model?

      Try doing some echo for the values that are being passed and see if anything more informative comes out of it.


    • Pavel Franger

      The issue was for some reason that i could only update a customfield if i had my code on Staging, apparently with us our Dev enviroment didn't allow for custom field updates.