test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • matgray87 Friend
    #202280

    Hi,
    Upon clicking the URL from the reset/remind password email, the token doesn’t autofill in the form.
    Email link (including token) here
    Can you suggest why? Is there a conflict somewhere preventing the URL from being parsed?
    Incidentally, I also had the same problem autofilling a separate field here from the URL, which should autofill the invitation field if sent a link with the token appended in the URL.
    Any help much appreciated as always.
    Thanks,
    Matt

    NB, normally I have SH404SEF turned on, but I’ve turned it off for the time being to try and figure out what’s going on here – don’t know if it makes a difference or not!

    jooservices Friend
    #553681

    Hi there,
    it should be because input field is not receive from request data.
    You can apply

    value="<?php $jinput->get('token'); ?>"
    into form field

    But it would not suggest to do for security. Token should be input by human.

    Thank you,
    Viet Vu

    jooservices Friend
    #553683

    Hi there
    I have just checked Joomla! I think they also do not support for auto filling too.


    <?php foreach ($this->form->getFieldsets() as $fieldset) : ?>
    <p><?php echo JText::_($fieldset->label); ?></p> <fieldset>
    <dl>
    <?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field) : ?>
    <dt><?php echo $field->label; ?></dt>
    <dd><?php echo $field->input; ?></dd>
    <?php endforeach; ?>
    </dl>
    </fieldset>
    <?php endforeach; ?>


    <?xml version="1.0" encoding="utf-8"?>
    <form>
    <fieldset name="default" label="COM_USERS_RESET_CONFIRM_LABEL">
    <field name="username" type="text"
    description="COM_USERS_FIELD_RESET_CONFIRM_USERNAME_DESC"
    filter="username"
    label="COM_USERS_FIELD_RESET_CONFIRM_USERNAME_LABEL"
    required="true"
    size="30"/>

    <field name="token" type="text"
    description="COM_USERS_FIELD_RESET_CONFIRM_TOKEN_DESC"
    filter="alnum"
    label="COM_USERS_FIELD_RESET_CONFIRM_TOKEN_LABEL"
    required="true"
    size="32"/>
    </fieldset>
    </form>

    Thank you,
    Viet Vu

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  jooservices 10 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum