Skip to content

Profile page doesnt post #11

@iruslani

Description

@iruslani

Hello all,

Trying to get this working with my heroku app. I'm using ejs instead of jade and on the profile page I have this:

<form method="post"> <fieldset action="/profile" class="form-group"> <label for="favcolor">Favorite Color</label> <input type="text" class="form-control" id="favcolor" value="<%- user.customData.favoriteColor %>" placeholder="Enter your favorite color"> <small class="text-muted">We'll never share your color with anyone else.</small> </fieldset> <fieldset class="form-group"> <label for="birthday">Password</label> <input type="text" class="form-control" id="birthday" value="<%- user.customData.birthday %>" placeholder="Enter your birthday"> </fieldset> <button type="submit" class="btn btn-primary">Submit</button> </form>

But when I click on Submit it doesn't post anything. Should there be an action pointing to the api?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions