Default Transaction
-
Hello, im using this amazing plugin, but i need to use it so the members of the platform can send to the page admin some transactions, and in order to do that i took the TRANSFER TO USER WALLET WIDGET and i need to modify it, so that when it pops up it already has selected the admin user for the transfer and the clients don’t get confused
<td colspan="3"> <label class="user"><?php echo apply_filters( 'wallets_ui_text_recipientuser', esc_html__( 'Recipient user', 'wallets-front' ) ); ?>: <input id="userInput" list="<?php echo esc_attr( $uid = uniqid( 'wallets-move-' ) ); ?>" type="text" required="required" placeholder="<?php echo apply_filters( 'wallets_ui_text_enterusernameoremail', esc_html__( 'dmalab.co', 'wallets-front' ) ); ?>" data-bind="value: moveUser, valueUpdate: ['afterkeydown', 'input']" onclick="myFunction" /></label> <datalist id="<?php echo esc_attr( $uid ); ?>"> <?php foreach ( Dashed_Slug_Wallets::get_move_recipient_suggestions() as $user_name ): ?> <option value="<?php echo esc_attr( $user_name ); ?>"> <?php endforeach; ?> </datalist> </td>
That is the part of the form that i need to modify, simply put in the input ‘admin’ and make it work, but of course that data-binding doesn’t let me just add value=”” or something and i’m stuck because i checked in wallets-ko.js and tried to adjust it there and it simply doesn’t work, i really need help ?? Sorry
The page I need help with: [log in to see the link]
- The topic ‘Default Transaction’ is closed to new replies.