How to fill slot(person name) using Form Action

Hi, I have to fill the name, mobile, email from user. So I am using Form action for that. No problem in filling slot( mobile and email ) but name is not getting filled, rasa is able to find the correct intent(inform) but failing to classify the entity(name) for slot “name”.

Is there a possibility by which I can set the slot value, if intent matched, though the entity is None. Also, can I get user message inside the slot_mappings method in formAction. Below is my actions.py.

class myForm(FormAction):

def name(self) -> Text:
    return "my_form"

@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:

    return ["name", "mobile", "email"]
def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]:
    print("Text type is : ", type(Text))
    print(tracker.latest_message['text'])
    return {
        "name": self.from_entity(entity=None,intent="inform"),
        "mobile": self.from_entity(entity="mobile", intent="inform"),
        "email": self.from_entity(entity="email", intent="inform")
    }

def submit(
    self,
    dispatcher: CollectingDispatcher,
    tracker: Tracker,
    domain: Dict[Text, Any],
) -> List[Dict]:

    dispatcher.utter_message(template="utter_ack")
    return []

Looks like you are not defining the entity from which the name should come.

"name": self.from_entity(entity=None,intent="inform"),

I think your goal here is to use the text instead of any entity. for that, you want

"name": self.from_text(intent="inform"),