# Implementing the edit mentor application view in ScholarX

**URL:** <https://sef.discourse.group/t/implementing-the-edit-mentor-application-view-in-scholarx/196>\
**Category:** ScholarX\
**Created:** [October 25, 2020, 12:07pm UTC](https://sef.discourse.group/t/implementing-the-edit-mentor-application-view-in-scholarx/196 "2020-10-25T12:07:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [October 25, 2020, 12:07pm UTC](https://sef.discourse.group/t/implementing-the-edit-mentor-application-view-in-scholarx/196/1 "2020-10-25T12:07:27Z")

</div>

Hi all,  
I’ve assigned to implement the following task.  
In the ScholarX platform, a user should be able to apply as a mentor for a specific program that is in the MENTOR\_APPLICATION lifecycle state. Furthermore, the application should be editable within the lifecycle as well.

The apply functionality is already implemented and here’s a screenshot of the view:

 ![image](https://global.discourse-cdn.com/free1/uploads/sef/original/1X/8abee654c1336d7124d031ca42a05154423fc108.png)

The goal of this task is to implement the edit functionality of the same application that allows the user to edit their own application. In order to achieve it, I’m planning to use `GET: programs/{programId}/mentor/application` API to retrieve data of the submitted application and pre-fill the form when the user visits the view. The `PUT: programs/{programId}/mentor/application` API will be used to submit the changed data.

Since we are considering only the happy path in this stage, the following would not be developed,

- Considering the program’s current lifecycle
- Adding form validations

Here’s the Github issue for the above task:

> <https://github.com/sef-global/scholarx-frontend/issues/37>
>
> Is your feature request related to a problem? Please describe.
> As a mentor, he/she needs to be able to edit his/her application
> Describe...

---

<div class="post-metadata">

**Author:** ![anjisvj](https://yyz2.discourse-cdn.com/free1/user_avatar/sef.discourse.group/anjisvj/32/9_2.png) [@anjisvj](https://sef.discourse.group/u/anjisvj)\
**Post date:** [October 25, 2020, 1:55pm UTC](https://sef.discourse.group/t/implementing-the-edit-mentor-application-view-in-scholarx/196/2 "2020-10-25T13:55:25Z")

</div>

Here’s the PR for the above task:

> <https://github.com/sef-global/scholarx-frontend/pull/38>
