Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • nuno 1 post 21 karma points
    Jan 09, 2015 @ 17:51
    nuno
    0

    3 steps form whit placeholder

    Hi

    My name is Nuno and i'm using umbraco 7 with the Contour version 3.0.23

    I have made a form with 3 steps with a placeholder in a textfield  like this
    The code below

    <input type="text" name="@Model.Name" id="@Model.Id" class="text" value="" maxlength="500"  placeholder="@Model.Value"
    @{if(Model.Mandatory || Model.Validate){<text>data-val="true"</text>}}
    @{if (Model.Mandatory) {<text> data-val-required="@Model.RequiredErrorMessage"</text>}}
    @{if (Model.Validate) {<text> data-val-regex="@Model.InvalidErrorMessage" data-regex="@Html.Raw(Model.Regex)"</text>}}
    />


    When i fill the input text (textfield) in the first step (step 1) and click to next step (step 2), wen i´m back to step 1, the info fiel disappears and i need to compose a new info (the same prefilled information)

    How can i solve the problem?

    Best Regards

Please Sign in or register to post replies

Write your reply to:

Draft